Created
April 1, 2020 00:32
-
-
Save tprobinson/66eb6cbb4e4a45b8b5022c2a0262a69e to your computer and use it in GitHub Desktop.
Censored version of Concourse launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
db: | |
image: postgres:9.5 | |
restart: always | |
environment: | |
POSTGRES_DB: concourse | |
POSTGRES_USER: concourse | |
POSTGRES_PASSWORD: changeme | |
PGDATA: /data | |
volumes: | |
- ./volumes/db:/data:rw | |
web: | |
image: concourse/concourse:5.6 | |
restart: always # required so that it retries until concourse-db comes up | |
command: [ | |
web, | |
--add-local-user, "concourse:<omitted>", --main-team-local-user, concourse, | |
--add-local-user, "admin:<omitted>", | |
# omitted other users here | |
--prometheus-bind-ip, "0.0.0.0", | |
--prometheus-bind-port, "9391", | |
] | |
depends_on: | |
- db | |
expose: | |
- 8080 | |
ports: | |
- 2222:2222 | |
- 9391:9391 | |
volumes: | |
- ./volumes/keys/web:/concourse-keys:ro | |
environment: | |
CONCOURSE_EXTERNAL_URL: https://concourse.mydomain.com | |
CONCOURSE_POSTGRES_HOST: db | |
CONCOURSE_POSTGRES_USER: concourse | |
CONCOURSE_POSTGRES_PASSWORD: changeme | |
CONCOURSE_POSTGRES_DATABASE: concourse | |
VIRTUAL_HOST: concourse.mydomain.com | |
VIRTUAL_PORT: 8080 | |
CONCOURSE_BITBUCKET_CLOUD_CLIENT_ID: <omitted> | |
CONCOURSE_BITBUCKET_CLOUD_CLIENT_SECRET: <omitted> | |
CONCOURSE_CONTAINER_PLACEMENT_STRATEGY: limit-active-tasks | |
CONCOURSE_MAX_ACTIVE_TASKS_PER_WORKER: 2 | |
CONCOURSE_ENABLE_LIDAR: "true" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment