Added hostname override
This commit is contained in:
@@ -6,6 +6,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
io.rancher.container.agent.role: environment
|
io.rancher.container.agent.role: environment
|
||||||
io.rancher.container.create_agent: true
|
io.rancher.container.create_agent: true
|
||||||
|
io.rancher.container.hostname_override: traefik
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
@@ -16,7 +17,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
- "8080:8080"
|
- "${DASHBOARD_PORT}:8080"
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
Reference in New Issue
Block a user