The documentation of the official docker container for buildbot expects the BUILDBOT_CONFIG_URL
environment variable to point to a .tar.gz
file accessible via HTTP containing the master.cfg
file.
- How is this supposed to work if the
master.cfg
file is not a single file but rather imports other files like theprivate.py
file? - Is it also possible configure the docker container with physical configuration files?
version: '2'
services:
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_WORKER_PORT=9989
- BUILDBOT_WEB_URL=http://localhost:8010/
- BUILDBOT_WEB_PORT=tcp:port=8010
links:
- db
depends_on:
- db
ports:
- "8010:8010"
db:
env_file:
- db.env
image: "postgres:9.4"
expose:
- 5432