Skip to content

Instantly share code, notes, and snippets.

@thejmazz
Last active December 19, 2016 16:49
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 thejmazz/9dcc166113efdef40268eae52ec4c7bb to your computer and use it in GitHub Desktop.
Save thejmazz/9dcc166113efdef40268eae52ec4c7bb to your computer and use it in GitHub Desktop.
docker-compose for drone and nginx reverse proxy
version: '2'
services:
drone:
image: drone/drone:0.4
restart: always
env_file: drone/dronerc
privileged: true # allows us to run a docker daemon
volumes:
- data:/var/lib/drone
- /var/run/docker.sock:/var/run/docker.sock
nginx:
build: nginx
ports:
- "8080:80"
links:
- drone:drone
volumes:
data: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment