Skip to content

Instantly share code, notes, and snippets.

@laribee
Created March 12, 2017 02:09
Show Gist options
  • Save laribee/38e131cc8940a7babb771b63fd22059a to your computer and use it in GitHub Desktop.
Save laribee/38e131cc8940a7babb771b63fd22059a to your computer and use it in GitHub Desktop.
Drone + Gogs Docker Compose File
gogs:
image: gogs/gogs:latest
ports:
- "10021:3000"
- "10022:22"
volumes:
- ./data:/data
drone:
image: drone/drone:0.4
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