Skip to content

Instantly share code, notes, and snippets.

@jonm
Created May 11, 2019 21:39
Show Gist options
  • Save jonm/c5a521ae678cb1de5f0326d5b52c95af to your computer and use it in GitHub Desktop.
Save jonm/c5a521ae678cb1de5f0326d5b52c95af to your computer and use it in GitHub Desktop.
Working docker-compose.yml for running Concourse locally in Windows via Docker Toolbox
version: '3'
services:
concourse-db:
image: postgres
environment:
- POSTGRES_DB=concourse
- POSTGRES_PASSWORD=CHANGEME
- POSTGRES_USER=concourse_user
- PGDATA=/database
volumes:
- "concourse-data:/database"
concourse:
image: concourse/concourse:4.2.1
command: quickstart
privileged: true
depends_on: [concourse-db]
ports: ["8080:8080"]
environment:
- CONCOURSE_POSTGRES_HOST=concourse-db
- CONCOURSE_POSTGRES_USER=concourse_user
- CONCOURSE_POSTGRES_PASSWORD=CHANGEME
- CONCOURSE_POSTGRES_DATABASE=concourse
- CONCOURSE_EXTERNAL_URL=http://192.168.99.100:8080
- CONCOURSE_ADD_LOCAL_USER=admin:CHANGEMETOO
- CONCOURSE_MAIN_TEAM_LOCAL_USER=admin
volumes:
concourse-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment