Added labels for Rancher integration
This commit is contained in:
@@ -5,6 +5,8 @@ services:
|
|||||||
image: traefik:latest
|
image: traefik:latest
|
||||||
command: --api --docker
|
command: --api --docker
|
||||||
labels:
|
labels:
|
||||||
|
io.rancher.container.agent.role: environment
|
||||||
|
io.rancher.container.create_agent: true
|
||||||
io.rancher.container.hostname_override: traefik
|
io.rancher.container.hostname_override: traefik
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
|
|||||||
Reference in New Issue
Block a user