piwigo addong
This commit is contained in:
24
piwigo/docker-compose.yml
Normal file
24
piwigo/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user