Skip to content

Instantly share code, notes, and snippets.

@bylatt
Forked from tam7t/docker-compose.yml
Created May 13, 2016 16:24
Show Gist options
  • Save bylatt/fcfe005cb149b69cb6bceaa1b788c88b to your computer and use it in GitHub Desktop.
Save bylatt/fcfe005cb149b69cb6bceaa1b788c88b to your computer and use it in GitHub Desktop.
drone-gogs compose
gogs:
image: gogs/gogs:latest
ports:
- "3000:3000"
- "10022:22"
volumes:
- ./data:/data
drone:
image: drone/drone:0.4
# build: .
# and to compile drone: docker run -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/go/src/github.com/drone/drone -it drone/golang:1.5
ports:
- "80:8000"
environment:
REMOTE_DRIVER: gogs
REMOTE_CONFIG: http://gogs:3000?open=true
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./drone:/var/lib/drone"
links:
- gogs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment