docker-compose.yml will start up gogs and drone. I use this to test drone branches locally.
# 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
docker-compose up to start the containers. Configuration will persist between container runs in
./data for gogs and
./drone for drone.
Gogs will run on port 3000 and drone on port 80. On your first run you will need to configure gogs to use the SQlite backend. Also be sure to update the
Application URL to point to the correct host (
http://192.168.99.100:3000 for me since I'm running
docker-machine with virtualbox).
After creating a new repo you can access drone on port 80, activate the repo, and run tests.