Created
April 13, 2017 15:24
-
-
Save mrsimonemms/c9afc30d62b52a23a4a7f30116b58d6b to your computer and use it in GitHub Desktop.
Docker Compose Swarm
This file contains hidden or 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
### | |
# run command: docker stack deploy -c docker-compose.yml dockercoins | |
### | |
version: "3" | |
services: | |
rng: | |
image: riggerthegeek/rng | |
ports: | |
- "8001:80" | |
deploy: | |
mode: global | |
hasher: | |
image: riggerthegeek/hasher | |
ports: | |
- "8002:80" | |
webui: | |
image: riggerthegeek/webui | |
ports: | |
- "8000:80" | |
deploy: | |
replicas: 10 | |
update_config: | |
parallelism: 2 | |
delay: 10s | |
redis: | |
image: redis | |
worker: | |
image: riggerthegeek/worker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment