Skip to content

Instantly share code, notes, and snippets.

@thebwt
Created March 2, 2016 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thebwt/97f7cfc3c0ac38aa3281 to your computer and use it in GitHub Desktop.
Save thebwt/97f7cfc3c0ac38aa3281 to your computer and use it in GitHub Desktop.
postgres:
image: postgres
environment:
- POSTGRES_USER=drone
- POSTGRES_PASSWORD=------
- POSTGRES_DB=drone
drone:
image: drone/drone:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
environment:
- REMOTE_DRIVER=github
- REMOTE_CONFIG=https://github.rackspace.com?client_id=---&client_secret=------&private_mode=false
- DATABASE_DRIVER=postgres
- DATABASE_CONFIG=postgres://drone:------@postgres:5432/drone?sslmode=disable
ports:
- '80:8000'
links:
- postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment