Created
September 16, 2019 09:05
-
-
Save LevZaplatin/2f4024197fce026c3aaa04bcb24535f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker service create | |
--name traefik | |
--constraint=node.role==manager | |
--publish 443:443 | |
--publish 80:80 | |
--publish 8080:8080 | |
--publish 5432:5432 | |
--publish 6222:22 | |
--mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock | |
--network test-ctm-net | |
traefik | |
--docker | |
--docker.swarmMode | |
--docker.domain=test.ctm | |
--docker.watch | |
--api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment