This commit is contained in:
blag 2017-05-16 13:39:37 +00:00 committed by GitHub
commit c61653e2c0
3 changed files with 16 additions and 2 deletions

1
config/master.cfg Symbolic link
View File

@ -0,0 +1 @@
../master.cfg

View File

@ -14,12 +14,17 @@ services:
- 8080:8080
- 9989:9989 # for external workers
config:
image: nginx
volumes:
- ./config:/usr/share/nginx/html:ro
buildbot:
image: buildbot/buildbot-master:latest
env_file: db.env
environment:
- BUILDBOT_CONFIG_DIR=config
- BUILDBOT_CONFIG_URL=https://github.com/buildbot/buildbot-docker-example-config/archive/master.tar.gz
- BUILDBOT_CONFIG_URL=http://config/master.cfg
- BUILDBOT_WORKER_PORT=9989
- BUILDBOT_WEB_URL=http://localhost:8080/
- BUILDBOT_WEB_PORT=8080
@ -28,6 +33,7 @@ services:
- BUILDBOT_MQ_REALM=realm1
- TCP_PORTS=8080,9989
links:
- config:config
- db
expose:
- 8080

View File

@ -1,18 +1,25 @@
version: '2'
services:
config:
image: nginx
volumes:
- ./config:/usr/share/nginx/html:ro
buildbot:
image: buildbot/buildbot-master:master
env_file:
- db.env
environment:
- BUILDBOT_CONFIG_DIR=config
- BUILDBOT_CONFIG_URL=https://github.com/buildbot/buildbot-docker-example-config/archive/master.tar.gz
- BUILDBOT_CONFIG_URL=http://config/master.cfg
- BUILDBOT_WORKER_PORT=9989
- BUILDBOT_WEB_URL=http://localhost:8080/
- BUILDBOT_WEB_PORT=8080
links:
- config:config
- db
depends_on:
- config:config
- db
ports:
- "8080:8080"