From b8dfb7395907135fa9602bee7287ae024fc61d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Tue, 20 Jun 2017 01:11:15 +0100 Subject: [PATCH] build: update docker-compose ports --- docker-compose.yml | 8 ++++---- packages/cp-frontend/etc/containerpilot.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 19fb6f6a..ebba3fdb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -45,14 +45,14 @@ prometheus: styleguide: image: quay.io/yldio/joyent-ui-toolkit:$CIRCLE_BRANCH ports: - - 5000 + - 6060 mem_limit: 512m labels: - triton.cns.services=styleguide-$CIRCLE_BRANCH - com.docker.swarm.affinities=["container!=~*styleguide*"] environment: - CONSUL_AGENT=1 - - PORT=5000 + - PORT=6060 ############################################################################# # FRONTEND @@ -65,9 +65,9 @@ cp-frontend: - com.docker.swarm.affinities=["container!=~*cp-frontend*"] environment: - CONSUL_AGENT=1 - - PORT=5000 + - PORT=3069 ports: - - 5000 + - 3069 ############################################################################# # BACKEND diff --git a/packages/cp-frontend/etc/containerpilot.json b/packages/cp-frontend/etc/containerpilot.json index d7e393fa..31e07f36 100644 --- a/packages/cp-frontend/etc/containerpilot.json +++ b/packages/cp-frontend/etc/containerpilot.json @@ -6,7 +6,7 @@ "port": 3069, "exec": "../../node_modules/.bin/serve --single build --port 3069", "health": { - "exec": "/usr/bin/curl -o /dev/null --fail -s http://0.0.0.0:5000/", + "exec": "/usr/bin/curl -o /dev/null --fail -s http://0.0.0.0:3069/", "interval": 3, "ttl": 10 }