24 Star 39 Fork 29

CODOG.CN / shipyard

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 970 Bytes
一键复制 编辑 原始数据 按行查看 历史
Tom Barlow 提交于 2015-09-18 22:09 . Fixed docker-compose.yml
rethinkdb:
image: rethinkdb
ports:
- "8080"
- "28015"
- "29015"
proxy:
image: ehazlett/docker-proxy:latest
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "2375"
swarm:
image: swarm:latest
command: m --host tcp://0.0.0.0:2375 proxy:2375
links:
- "proxy:proxy"
ports:
- "2375"
media:
build: .
entrypoint: /bin/bash
dockerfile: Dockerfile.build
command: -c "make media && sleep infinity"
working_dir: /go/src/github.com/shipyard/shipyard
volumes:
- "/go/src/github.com/shipyard/shipyard/controller/static"
controller:
build: .
dockerfile: Dockerfile.build
entrypoint: /bin/bash
command: -c "make build && cd controller && ./controller -D server --rethinkdb-addr rethinkdb:28015 -d tcp://swarm:2375"
links:
- rethinkdb
- swarm
volumes_from:
- media
ports:
- "8080:8080"
Go
1
https://gitee.com/codog/shipyard.git
git@gitee.com:codog/shipyard.git
codog
shipyard
shipyard
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891