2019-12-24 04:07:34 +08:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
pigallery2:
|
2019-12-31 04:39:05 +08:00
|
|
|
image: bpatrik/pigallery2:latest
|
2019-12-24 04:07:34 +08:00
|
|
|
container_name: pigallery2
|
|
|
|
environment:
|
2023-01-05 06:19:14 +08:00
|
|
|
- NODE_ENV=production # set to 'debug' for full debug logging
|
2019-12-24 04:07:34 +08:00
|
|
|
volumes:
|
2020-01-17 18:55:10 +08:00
|
|
|
- "./pigallery2/config:/app/data/config" # CHANGE ME
|
2019-12-24 04:07:34 +08:00
|
|
|
- "db-data:/app/data/db"
|
2023-01-05 06:25:59 +08:00
|
|
|
- "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' means read-only
|
2020-01-17 18:55:10 +08:00
|
|
|
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
|
2019-12-24 04:07:34 +08:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-data:
|