Skip to content

Instantly share code, notes, and snippets.

@tam7t
Last active May 18, 2017 14:53
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tam7t/ae515fe737e6572a38f1 to your computer and use it in GitHub Desktop.
Save tam7t/ae515fe737e6572a38f1 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
@CnytSntrk
Copy link

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

@halsn
Copy link

halsn commented May 18, 2017

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