Skip to content
This repository was archived by the owner on May 20, 2022. It is now read-only.

Commit d3f9a7d

Browse files
authored
Merge pull request #359 from Ovski4/patch-1
Break traefik command in multiple lines
2 parents defa175 + f701af7 commit d3f9a7d

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

contrib/swarm/docker-stack-traefik.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,18 @@ services:
109109
- "443:443"
110110
networks:
111111
- mm-out
112-
command: --acme --acme.email="[ADD YOUR EMAIL HERE]" --acme.entrypoint=https --acme.onhostrule --acme.storage="acme/certs.json" --acme.acmelogging --web --docker --docker.domain=docker.localhost --docker.swarmmode --docker.watch --logLevel=DEBUG
112+
command: >
113+
--acme
114+
--acme.email="[ADD YOUR EMAIL HERE]"
115+
--acme.entrypoint=https --acme.onhostrule
116+
--acme.storage="acme/certs.json"
117+
--acme.acmelogging
118+
--web
119+
--docker
120+
--docker.domain=docker.localhost
121+
--docker.swarmmode
122+
--docker.watch
123+
--logLevel=DEBUG
113124
volumes:
114125
# traefik needs the docker socket in order to work properly
115126
- /var/run/docker.sock:/var/run/docker.sock
@@ -121,4 +132,4 @@ services:
121132
- traefik-certs:/acme
122133
deploy:
123134
restart_policy:
124-
condition: on-failure
135+
condition: on-failure

0 commit comments

Comments
 (0)