-
-
Save bylatt/fcfe005cb149b69cb6bceaa1b788c88b to your computer and use it in GitHub Desktop.
drone-gogs compose
This file contains hidden or 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
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