Update docker-stack-traefik.yml
The command is pretty long. I used yaml folded style: - Each line break is replaced by a space. - The indention in each line will be ignored - A line break will be inserted at the end. Which keep the current behaviour
This commit is contained in:
parent
defa175421
commit
f701af7044
@ -109,7 +109,18 @@ services:
|
||||
- "443:443"
|
||||
networks:
|
||||
- mm-out
|
||||
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
|
||||
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
|
||||
volumes:
|
||||
# traefik needs the docker socket in order to work properly
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
@ -121,4 +132,4 @@ services:
|
||||
- traefik-certs:/acme
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
condition: on-failure
|
||||
|
Reference in New Issue
Block a user