mirror of
https://github.com/Febbweiss/gocd-docker.git
synced 2026-03-04 22:25:42 +00:00
Feature: Docker images for go-server and go-agents for jdk8, nodejs and cloudfoundry
This commit is contained in:
45
docker-compose.yml
Normal file
45
docker-compose.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
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
|
||||
Reference in New Issue
Block a user