Added hostname override

This commit is contained in:
WilliamMiceli
2018-08-24 16:59:20 -04:00
parent 14e174ad79
commit 6cae012363

View File

@@ -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