build: update docker-compose ports

This commit is contained in:
Sérgio Ramos 2017-06-20 01:11:15 +01:00
parent 86662ae170
commit b8dfb73959
2 changed files with 5 additions and 5 deletions

View File

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

View File

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