build: update cns names

This commit is contained in:
Sérgio Ramos 2017-06-01 02:27:37 +01:00
parent cecb1d58ce
commit 16199a4318

View File

@ -48,7 +48,7 @@ styleguide:
- 6060:6060 - 6060:6060
mem_limit: 512m mem_limit: 512m
labels: labels:
- triton.cns.services=ui-$CIRCLE_BRANCH - triton.cns.services=styleguide-$CIRCLE_BRANCH
- com.docker.swarm.affinities=["container!=~*styleguide*"] - com.docker.swarm.affinities=["container!=~*styleguide*"]
environment: environment:
- CONSUL_AGENT=1 - CONSUL_AGENT=1
@ -61,7 +61,7 @@ cp-frontend:
image: quay.io/yldio/joyent-cp-frontend:$CIRCLE_BRANCH image: quay.io/yldio/joyent-cp-frontend:$CIRCLE_BRANCH
mem_limit: 512m mem_limit: 512m
labels: labels:
- triton.cns.services=frontend-$CIRCLE_BRANCH - triton.cns.services=cp-frontend-$CIRCLE_BRANCH
- com.docker.swarm.affinities=["container!=~*cp-frontend*"] - com.docker.swarm.affinities=["container!=~*cp-frontend*"]
environment: environment:
- CONSUL_AGENT=1 - CONSUL_AGENT=1
@ -76,7 +76,7 @@ gql-mock-server:
image: quay.io/yldio/joyent-cp-gql-mock-server:$CIRCLE_BRANCH image: quay.io/yldio/joyent-cp-gql-mock-server:$CIRCLE_BRANCH
mem_limit: 512m mem_limit: 512m
labels: labels:
- triton.cns.services=frontend-$CIRCLE_BRANCH - triton.cns.services=gql-mock-server-$CIRCLE_BRANCH
- com.docker.swarm.affinities=["container!=~*gql-mock-server*"] - com.docker.swarm.affinities=["container!=~*gql-mock-server*"]
environment: environment:
- CONSUL_AGENT=1 - CONSUL_AGENT=1