Files
gocd-docker/docker-compose.yml

46 lines
959 B
YAML

gocd-server:
build: gocd-server/.
ports:
- "8153:8153"
volumes:
- ./mnt/var/lib/go-server:/var/lib/go-server
- ./mnt/etc/go:/etc/go
- ./mnt/var/log/go-server:/var/log/go-server
environment:
- AGENT_KEY=opensaasgocd
gocd-agent:
build: gocd-agent/.
links:
- gocd-server
environment:
- AGENT_KEY=opensaasgocd
- GO_SERVER=gocd-server
- GO_SERVER_PORT=8153
gocd-agent-jdk8:
build: gocd-agent/.
links:
- gocd-server
environment:
- AGENT_KEY=opensaasgocd
- AGENT_RESOURCES=java
- GO_SERVER=gocd-server
- GO_SERVER_PORT=8153
gocd-agent-nodejs:
build: gocd-agent/.
links:
- gocd-server
environment:
- AGENT_KEY=opensaasgocd
- AGENT_RESOURCES=node
- GO_SERVER=gocd-server
- GO_SERVER_PORT=8153
gocd-agent-cloudfoundry:
build: gocd-agent/.
links:
- gocd-server
environment:
- AGENT_KEY=opensaasgocd
- AGENT_RESOURCES=cf
- GO_SERVER=gocd-server
- GO_SERVER_PORT=8153