diff --git a/templates/Traefik/0/docker-compose.yml b/templates/Traefik/0/docker-compose.yml index 63439b0..fea4189 100644 --- a/templates/Traefik/0/docker-compose.yml +++ b/templates/Traefik/0/docker-compose.yml @@ -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}