homelab/bxl-shp/apps/docker-compose.photostructu...

37 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-08-06 11:10:12 +02:00
services:
photostructure:
container_name: photostructure
image: photostructure/server:stable
restart: unless-stopped
depends_on:
- traefik
stop_grace_period: 2m
volumes:
- type: bind
source: /mnt/sync/photostructure/library
target: /ps/library
- type: bind
source: $DATA/photostructure/tmp
target: /ps/tmp
- type: bind
source: $DATA/photostructure/config
target: /ps/config
- type: bind
source: $DATA/photostructure/logs
target: /ps/logs
environment:
- TZ=Europe/Paris
- PUID=1000
- PGID=1000
labels:
- "traefik.enable=true"
2024-09-10 14:23:43 +02:00
- "traefik.http.routers.photostructure.rule=Host(`old-photos.bhasher.com`)"
2024-08-06 11:10:12 +02:00
- "traefik.http.routers.photostructure.entrypoints=internalsecure"
- "traefik.http.services.photostructure.loadbalancer.server.port=1787"
- "traefik.http.routers.photostructure.tls=true"
- "traefik.http.routers.photostructure.tls.certresolver=http"
- "traefik.http.routers.photostructure.middlewares=authelia@docker"
- "com.centurylinklabs.watchtower.enable=true"
networks:
- external