2019-12-23 22:07:34 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
pigallery2:
|
2019-12-30 22:39:05 +02:00
|
|
|
image: bpatrik/pigallery2:latest
|
2019-12-23 22:07:34 +02:00
|
|
|
container_name: pigallery2
|
|
|
|
environment:
|
|
|
|
- NODE_ENV=production
|
|
|
|
volumes:
|
2020-01-17 12:55:10 +02:00
|
|
|
- "./pigallery2/config:/app/data/config" # CHANGE ME
|
2019-12-23 22:07:34 +02:00
|
|
|
- "db-data:/app/data/db"
|
2022-02-06 17:49:19 +02:00
|
|
|
- "./pigallery2/images:/app/data/images:ro" # CHANGE ME, ':ro' mean read-only
|
2020-01-17 12:55:10 +02:00
|
|
|
- "./pigallery2/tmp:/app/data/tmp" # CHANGE ME
|
2019-12-23 22:07:34 +02:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
restart: always
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-data:
|