Add Pigallery 2/Docker-Compose.yml
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
services:
|
||||||
|
pigallery2:
|
||||||
|
image: bpatrik/pigallery2:latest
|
||||||
|
container_name: pigallery2
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=production # set to 'debug' for full debug logging
|
||||||
|
# - NODE_OPTIONS=--enable-source-maps # enable source map support on the backend for development
|
||||||
|
volumes:
|
||||||
|
- "/srv/docker/pigallery2/config:/app/data/config"
|
||||||
|
- "/srv/docker/pigallery2/db-data:/app/data/db"
|
||||||
|
- "/mnt/smb_share_pics:/app/data/images:ro" # ':ro' means read-only
|
||||||
|
- "/srv/docker/pigallery2/tmp:/app/data/tmp"
|
||||||
|
ports:
|
||||||
|
- 5007:80
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user