From c3b0dac6056c24d31925f9854d6c61cfc3ea064a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 1 Jun 2017 02:38:15 +0100 Subject: [PATCH] build: share cns tag between frontend and mock-server --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b54daa12..2115678c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,7 +45,7 @@ prometheus: styleguide: image: quay.io/yldio/joyent-ui-toolkit:$CIRCLE_BRANCH ports: - - 6060:6060 + - 6060 mem_limit: 512m labels: - triton.cns.services=styleguide-$CIRCLE_BRANCH @@ -67,7 +67,7 @@ cp-frontend: - CONSUL_AGENT=1 - PORT=3069 ports: - - 3069:3069 + - 3069 ############################################################################# # BACKEND @@ -76,10 +76,10 @@ gql-mock-server: image: quay.io/yldio/joyent-cp-gql-mock-server:$CIRCLE_BRANCH mem_limit: 512m labels: - - triton.cns.services=gql-mock-server-$CIRCLE_BRANCH + - triton.cns.services=gql-mock-server-$CIRCLE_BRANCH,cp-frontend-$CIRCLE_BRANCH - com.docker.swarm.affinities=["container!=~*gql-mock-server*"] environment: - CONSUL_AGENT=1 - PORT=3000 ports: - - 3000:3000 + - 3000