Skip to content

Instantly share code, notes, and snippets.

@gustavovnicius
Last active April 30, 2016 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gustavovnicius/0cf46227a2e6d0b541e07876cad80017 to your computer and use it in GitHub Desktop.
Save gustavovnicius/0cf46227a2e6d0b541e07876cad80017 to your computer and use it in GitHub Desktop.
version: '2'
services:
go-server:
image: gocd/gocd-server:latest
environment:
- AGENT_KEY=PUT_A_KEY_HERE
ports:
- 8153:8153
- 8154:8154
volumes:
- /opt/go/home:/var/go
# - /opt/go/config:/etc/go
# - /opt/go/plugins:/var/lib/go-server/plugins/external
go-agent:
image: gustavovnicius/gocd-agent-docker:latest
environment:
- AGENT_KEY=PUT_A_KEY_HERE
volumes:
- /opt/go/home:/var/go
depends_on:
- go-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment