Last active
December 19, 2016 16:49
-
-
Save thejmazz/9dcc166113efdef40268eae52ec4c7bb to your computer and use it in GitHub Desktop.
docker-compose for drone and nginx reverse proxy
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: '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