-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (38 loc) · 1.63 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '2'
services:
go-server:
image: gocd/gocd-server:v19.5.0
ports:
- "8153:8153"
- "8154:8154"
environment:
GOCD_PLUGIN_INSTALL_kubernetes_elastic_agent_plugin: 'https://github.com/gocd/kubernetes-elastic-agents/releases/download/v3.0.0-156/kubernetes-elastic-agent-3.0.0-156.jar'
GOCD_PLUGIN_INSTALL_yaml_config_plugin: 'https://github.com/tomzo/gocd-yaml-config-plugin/releases/download/0.11.2/yaml-config-plugin-0.11.2.jar'
volumes:
- ${PWD}/godata/config/cruise-config.xml:/godata/config/cruise-config.xml
- ${PWD}/godata/config/password_file:/godata/passwd
go-agent1:
# image: gocd/gocd-agent-ubuntu-16.04:v17.9.0
image: php-agent:latest
links:
- "go-server"
depends_on:
- "go-server"
environment:
AGENT_AUTO_REGISTER_KEY: '123456789abcdefgh987654321'
GO_SERVER_URL: https://go-server:8154/go
go-agent2:
#image: gocd/gocd-agent-ubuntu-16.04:v17.9.0
image: rvm-agent:latest
links:
- "go-server"
depends_on:
- "go-server"
environment:
AGENT_AUTO_REGISTER_KEY: '123456789abcdefgh987654321'
GO_SERVER_URL: https://go-server:8154/go
#-e GOCD_PLUGIN_INSTALL_kubernetes_elastic_agent_plugin=https://github.com/gocd/kubernetes-elastic-agents/releases/download/v3.0.0-156/kubernetes-elastic-agent-3.0.0-156.jar \
# -e GOCD_PLUGIN_INSTALL_yaml_config_plugin=https://github.com/tomzo/gocd-yaml-config-plugin/releases/download/0.11.2/yaml-config-plugin-0.11.2.jar \
# -p8154:8154 -p8153:8153 \
# -v ${PWD}/passwd:/godata/passwd -v ${PWD}/cruise-config.xml:/godata/config/cruise-config.xml \
# gocd/gocd-server:v19.5.0#