Skip to content

Instantly share code, notes, and snippets.

@nfx
Created February 19, 2016 15:56
Show Gist options
  • Save nfx/cd7dd784e331fe456148 to your computer and use it in GitHub Desktop.
Save nfx/cd7dd784e331fe456148 to your computer and use it in GitHub Desktop.
---
hasher:
build: hasher
ports:
- "8002:80"
redis:
image: redis
rng:
build: rng
ports:
- "8001:80"
webui:
build: webui
links:
- redis
ports:
- "8000:80"
volumes:
- "./webui/files/:/files/"
worker:
build: worker
links:
- rng
- hasher
- redis
docker@node1 ~/orchestration-workshop/dockercoins: cat docker-compose.yml-1455895240
hasher:
image: nfx0/dockercoins_hasher:1455895240
ports:
- 8002:80
redis:
image: redis
rng:
image: nfx0/dockercoins_rng:1455895240
ports:
- 8001:80
webui:
image: nfx0/dockercoins_webui:1455895240
links:
- redis
ports:
- 8000:80
volumes:
- ./webui/files/:/files/
worker:
image: nfx0/dockercoins_worker:1455895240
links:
- rng
- hasher
- redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment