Last active
December 16, 2018 04:47
-
-
Save skydiver/bac37893d659a6996d0f46f769dbb4a9 to your computer and use it in GitHub Desktop.
Shipyard stack using docker-compose
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
version: '2' | |
services: | |
rethinkdb: | |
container_name: shipyard-rethinkdb | |
image : rethinkdb | |
discovery: | |
container_name: shipyard-discovery | |
image : microbox/etcd | |
command : -name discovery | |
ports : | |
- 4001:4001 | |
- 7001:7001 | |
proxy: | |
container_name: shipyard-proxy | |
image : shipyard/docker-proxy:latest | |
ports : | |
- 2375:2375 | |
volumes : | |
- /var/run/docker.sock:/var/run/docker.sock | |
environment : | |
- PORT=2375 | |
swarm-manager: | |
container_name: shipyard-swarm-manager | |
image : swarm:latest | |
command : manage --host tcp://0.0.0.0:3375 etcd://discovery:4001 | |
swarm-agent: | |
container_name: shipyard-swarm-agent | |
image : swarm:latest | |
command : join --addr proxy:2375 etcd://discovery:4001 | |
controller: | |
container_name: shipyard-controller | |
image : shipyard/shipyard:latest | |
command : server -d tcp://swarm-manager:3375 | |
ports : | |
- 8080:8080 | |
links: | |
- rethinkdb | |
- swarm-manager | |
depends_on : | |
- rethinkdb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment