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