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"
|
- "443:443"
|
||||||
networks:
|
networks:
|
||||||
- mm-out
|
- 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:
|
volumes:
|
||||||
# traefik needs the docker socket in order to work properly
|
# traefik needs the docker socket in order to work properly
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
Reference in New Issue
Block a user