Last active
May 18, 2017 14:53
-
-
Save tam7t/ae515fe737e6572a38f1 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 |
change localhost
to drone
in webhook payload url may work
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi i have same configuration for docker-compose and all works perfect. But when i try ' Test delivery' on webhook i got connection refuse!
Is there any solution for it ? i cant figure it ty