Add links beteween server and agent
This commit is contained in:
parent
c3fb2a1e01
commit
f7bf5f3da8
@ -64,6 +64,8 @@ services:
|
||||
- GOCD_CONFIG_agent_key="${GOCD_AGENT_KEY}"
|
||||
- GOCD_CONFIG_agent_resource_docker="${GOCD_AGENT_RESOURCE}"
|
||||
- DOCKER_HOST="tcp://docker-engine:2375"
|
||||
links:
|
||||
- gocd-server:gocd-server
|
||||
labels:
|
||||
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
||||
io.rancher.container.hostname_override: container_name
|
||||
|
Loading…
x
Reference in New Issue
Block a user