1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00
pigallery2/docker/docker-compose/pigallery2-only/docker-compose.yml

19 lines
499 B
YAML

version: '3.9'
services:
pigallery2:
image: bpatrik/pigallery2:latest
container_name: pigallery2
environment:
- NODE_ENV=production # set to 'debug' for full debug logging
volumes:
- "./pigallery2/config:/app/data/config" # CHANGE ME
- "db-data:/app/data/db"
- "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' means read-only
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
ports:
- 80:80
restart: always
volumes:
db-data: