diff --git a/templates/Traefik/0/docker-compose.yml b/templates/Traefik/0/docker-compose.yml index 7877f92..bd0e49a 100644 --- a/templates/Traefik/0/docker-compose.yml +++ b/templates/Traefik/0/docker-compose.yml @@ -6,6 +6,7 @@ services: labels: io.rancher.container.agent.role: environment io.rancher.container.create_agent: true + io.rancher.container.hostname_override: traefik io.rancher.container.pull_image: always {{- if (.Values.HOST_LABEL)}} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} @@ -16,7 +17,7 @@ services: ports: - "80:80" - "443:443" - - "8080:8080" + - "${DASHBOARD_PORT}:8080" restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock