diff --git a/piwigo/docker-compose.yml b/piwigo/docker-compose.yml index 080879a..02a079a 100644 --- a/piwigo/docker-compose.yml +++ b/piwigo/docker-compose.yml @@ -12,9 +12,9 @@ services: 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 + - traefik.http.routers.${ROUTER_NAME}-router.entrypoints=${ENTRYPOINT} + - traefik.http.routers.${ROUTER_NAME}-router.rule=Host(`${APP_HOST}`) + - traefik.http.routers.${ROUTER_NAME}-router.tls=true volumes: piwigo_gallery: {} piwigo_config: {} diff --git a/portainer.json b/portainer.json index 72b8b69..300348f 100644 --- a/portainer.json +++ b/portainer.json @@ -157,7 +157,12 @@ "description": "Version de piwigo (latest si vide, list : https://hub.docker.com/r/linuxserver/piwigo/tags)", "default": "latest" }, - + { + "name": "ROUTER_NAME", + "label": "router host", + "description": "Nom du routeur", + "default": "piwigo" + }, { "name": "APP_HOST", "label": "Url app host",