diff --git a/cyphernodeconf_docker/templates/traefik/traefik.toml b/cyphernodeconf_docker/templates/traefik/traefik.toml index ccd33d6..e589790 100644 --- a/cyphernodeconf_docker/templates/traefik/traefik.toml +++ b/cyphernodeconf_docker/templates/traefik/traefik.toml @@ -17,6 +17,7 @@ endpoint = "unix:///var/run/docker.sock" domain = "cyphernode.localhost" watch = true exposedByDefault = false +swarmMode = <%= ( docker_mode === 'swarm' )?'true':'false' %> [acme] email = "letsencrypt@yourdomain.com"