39 lines
949 B
YAML
Executable file
39 lines
949 B
YAML
Executable file
version: '3'
|
|
|
|
services:
|
|
pigallery2:
|
|
container_name: pigallery2
|
|
environment:
|
|
NODE_ENV: production
|
|
image: bpatrik/pigallery2:1.9.0-alpine
|
|
networks:
|
|
- photo-frontend
|
|
expose:
|
|
- 80
|
|
restart: unless-stopped
|
|
volumes:
|
|
#/app/data/images
|
|
- pigallery_config:/app/data/config:rw
|
|
- pigallerydb_data:/app/data/db:rw
|
|
- pigallery_tmp:/app/data/tmp:rw
|
|
- type: bind
|
|
source: ${ROOT_INSTALL}/data/seafile-fuse
|
|
target: /seahub
|
|
bind:
|
|
propagation: rslave
|
|
privileged: true
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
healthcheck:
|
|
disable: true
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.photo.rule=Host(`${HOST_PIGALLERY}.${DOMAIN}`)
|
|
- traefik.http.routers.photo.entrypoints=https
|
|
- traefik.http.routers.photo.tls=true
|
|
- traefik.docker.network=photo-frontend
|
|
|
|
volumes:
|
|
pigallerydb_data:
|
|
pigallery_tmp:
|
|
pigallery_config:
|