builder.braak.pro/docker-compose.override.yml
Bart van der Braak 77ae214d24
All checks were successful
/ checks (pull_request) Successful in 15s
Change environment variable setup
2024-11-20 02:29:30 +01:00

24 lines
No EOL
766 B
YAML

services:
buildbot-master:
env_file: .env.local
volumes:
- ./config:/buildbot/config
buildbot-worker:
image: 'buildbot/buildbot-worker:${BUILDBOT_IMAGE_TAG:-v4.1.0}'
restart: unless-stopped
environment:
- 'BUILDMASTER=${BUILDMASTER:-buildbot-master}'
- 'BUILDMASTER_PORT=${BUILDBOT_WORKER_PORT:-9989}'
- 'WORKERNAME=${WORKERNAME:-example-worker}'
- 'WORKERPASS=${WORKERPASS:-pass}'
- 'WORKER_ENVIRONMENT_BLACKLIST=${WORKER_ENVIRONMENT_BLACKLIST:-DOCKER_BUILDBOT* BUILDBOT_ENV_* BUILDBOT_1* WORKER_ENVIRONMENT_BLACKLIST}'
healthcheck:
test:
- CMD
- curl
- '-f'
- 'http://$${BUILDMASTER}:$${BUILDMASTER_PORT}'
interval: 5s
timeout: 20s
retries: 10