docker-compose.yml: Sanitize whitespace usage

I noted when looking at the file that it was a bit messy because it used a mix of 2 and 4 spaces as indentation width in the YAML. [yamllint](https://github.com/adrienverge/yamllint) also showed warnings about the same things.

I cleaned the file up, so that the indentation would be harmonized and give people a better first impression of a great tool (=buildbot).
This commit is contained in:
Per Lundberg 2017-11-02 11:36:13 +02:00 committed by GitHub
parent c56d888dd3
commit 169592cae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,13 +3,13 @@ services:
buildbot: buildbot:
image: buildbot/buildbot-master:master image: buildbot/buildbot-master:master
env_file: env_file:
- db.env - db.env
environment: environment:
- BUILDBOT_CONFIG_DIR=config - BUILDBOT_CONFIG_DIR=config
- BUILDBOT_CONFIG_URL=https://github.com/buildbot/buildbot-docker-example-config/archive/master.tar.gz - BUILDBOT_CONFIG_URL=https://github.com/buildbot/buildbot-docker-example-config/archive/master.tar.gz
- BUILDBOT_WORKER_PORT=9989 - BUILDBOT_WORKER_PORT=9989
- BUILDBOT_WEB_URL=http://localhost:8080/ - BUILDBOT_WEB_URL=http://localhost:8080/
- BUILDBOT_WEB_PORT=8080 - BUILDBOT_WEB_PORT=8080
links: links:
- db - db
depends_on: depends_on:
@ -18,19 +18,19 @@ services:
- "8080:8080" - "8080:8080"
db: db:
env_file: env_file:
- db.env - db.env
image: "postgres:9.4" image: "postgres:9.4"
expose: expose:
- 5432 - 5432
worker: worker:
image: "buildbot/buildbot-worker:master" image: "buildbot/buildbot-worker:master"
environment: environment:
BUILDMASTER: buildbot BUILDMASTER: buildbot
BUILDMASTER_PORT: 9989 BUILDMASTER_PORT: 9989
WORKERNAME: example-worker WORKERNAME: example-worker
WORKERPASS: pass WORKERPASS: pass
WORKER_ENVIRONMENT_BLACKLIST: DOCKER_BUILDBOT* BUILDBOT_ENV_* BUILDBOT_1* WORKER_ENVIRONMENT_BLACKLIST WORKER_ENVIRONMENT_BLACKLIST: DOCKER_BUILDBOT* BUILDBOT_ENV_* BUILDBOT_1* WORKER_ENVIRONMENT_BLACKLIST
links: links:
- buildbot - buildbot