Files
selfhosting/photo/docker-compose-pigallery.yml
T

38 lines
917 B
YAML
Raw Normal View History

2020-07-18 15:13:44 +02:00
version: '3'
services:
pigallery2:
container_name: pigallery2
environment:
NODE_ENV: production
2021-10-03 12:29:30 +02:00
image: bpatrik/pigallery2:1.9.0-alpine
2020-07-18 15:13:44 +02:00
networks:
- srv
expose:
- 80
restart: unless-stopped
volumes:
- pigallery_config:/app/data/config:rw
- pigallerydb_data:/app/data/db:rw
- pigallery_tmp:/app/data/tmp:rw
2021-11-01 18:41:59 +01:00
- type: bind
source: ${ROOT_INSTALL}/data/seafile-fuse
target: /app/data/images
bind:
propagation: rslave
privileged: true
cap_add:
- SYS_ADMIN
2020-07-25 15:07:37 +02:00
healthcheck:
2021-11-01 19:10:42 +01:00
disable: true
labels:
- traefik.enable=true
- traefik.http.routers.pigallery_config.rule=Host(`${HOST_PIGALLERY}.${DOMAIN}`)
2021-11-01 20:26:33 +01:00
- traefik.http.routers.pigallery_config.entrypoints=https
- traefik.http.routers.pigallery_config.tls=true
2020-07-18 15:13:44 +02:00
volumes:
pigallerydb_data:
pigallery_tmp:
2021-11-01 19:10:42 +01:00
pigallery_config: