Add links beteween server and agent

This commit is contained in:
disaster37 2017-04-01 06:40:35 +00:00
parent c3fb2a1e01
commit f7bf5f3da8

View File

@ -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