piwigo addong

This commit is contained in:
valentin
2023-03-22 14:50:05 +01:00
parent 8d52b3b1da
commit 12f862b8df
2 changed files with 51 additions and 0 deletions

24
piwigo/docker-compose.yml Normal file
View File

@@ -0,0 +1,24 @@
---
version: "2.1"
services:
piwigo:
image: lscr.io/linuxserver/piwigo:${PIWIGO_VERSION}
environment:
- TZ=FR
volumes:
- piwigo_config:/config
- piwigo_gallery:/gallery
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.docker.network=traefik_web
- traefik.http.routers.${APP_HOST//./-}-router.entrypoints=${ENTRYPOINT}
- traefik.http.routers.${APP_HOST//./-}-router.rule=Host(`${APP_HOST}`)
- traefik.http.routers.${APP_HOST//./-}-router.tls=true
volumes:
piwigo_gallery: {}
piwigo_config: {}
# Specific for traefik
networks:
traefik_web:
external: true