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:
Baptiste Bouchereau 2019-01-29 21:04:07 +13:00 committed by GitHub
parent defa175421
commit f701af7044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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