-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use upstream docker-compose file for bootstrap
Concourse upstream publishes a docker-compose file which uses their new `quickstart` command to auto-wire a worker and atc together. This commit uses that upstream file (vendorered, as a couple of changes need to be accepted upstream before we can use it [1]). To use it, we needed to upgrade to Bionic as our bootstrap substrate for a later version of docker-compose, which introduced a subtle cloud-init boot-time timing problem, where Vagrant can run our commands (`apt-get update`) before the apt config files are pointing at the correct repos. [1] concourse/docs#112
- Loading branch information
Jonathan Matthews
committed
Sep 24, 2018
1 parent
dd24492
commit 1c92c4e
Showing
5 changed files
with
42 additions
and
50 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
version: '3' | ||
|
||
services: | ||
concourse-db: | ||
image: postgres | ||
environment: | ||
- POSTGRES_DB=${CONCOURSE_POSTGRES_DATABASE:-concourse} | ||
- POSTGRES_PASSWORD=${CONCOURSE_POSTGRES_PASSWORD:-concourse_pass} | ||
- POSTGRES_USER=${CONCOURSE_POSTGRES_USER:-concourse_user} | ||
- PGDATA=/database | ||
|
||
concourse: | ||
image: concourse/concourse | ||
command: quickstart | ||
privileged: true | ||
depends_on: [concourse-db] | ||
ports: ["8080:8080"] | ||
environment: | ||
- CONCOURSE_POSTGRES_HOST=${CONCOURSE_POSTGRES_HOST:-concourse-db} | ||
- CONCOURSE_POSTGRES_USER=${CONCOURSE_POSTGRES_USER:-concourse_user} | ||
- CONCOURSE_POSTGRES_PASSWORD=${CONCOURSE_POSTGRES_PASSWORD:-concourse_pass} | ||
- CONCOURSE_POSTGRES_DATABASE=${CONCOURSE_POSTGRES_DATABASE:-concourse} | ||
- CONCOURSE_EXTERNAL_URL | ||
- CONCOURSE_ADD_LOCAL_USER=${CONCOURSE_ADD_LOCAL_USER:-test:test} | ||
- CONCOURSE_MAIN_TEAM_ALLOW_ALL_USERS=true | ||
- CONCOURSE_WORKER_GARDEN_NETWORK |
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