1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 14:10:04 +02:00

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: styleguide:
image: quay.io/yldio/joyent-ui-toolkit:$CIRCLE_BRANCH image: quay.io/yldio/joyent-ui-toolkit:$CIRCLE_BRANCH
ports: ports:
- 5000 - 6060
mem_limit: 512m mem_limit: 512m
labels: labels:
- triton.cns.services=styleguide-$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
- PORT=5000 - PORT=6060
############################################################################# #############################################################################
# FRONTEND # FRONTEND
@ -65,9 +65,9 @@ cp-frontend:
- com.docker.swarm.affinities=["container!=~*cp-frontend*"] - com.docker.swarm.affinities=["container!=~*cp-frontend*"]
environment: environment:
- CONSUL_AGENT=1 - CONSUL_AGENT=1
- PORT=5000 - PORT=3069
ports: ports:
- 5000 - 3069
############################################################################# #############################################################################
# BACKEND # BACKEND

View File

@ -6,7 +6,7 @@
"port": 3069, "port": 3069,
"exec": "../../node_modules/.bin/serve --single build --port 3069", "exec": "../../node_modules/.bin/serve --single build --port 3069",
"health": { "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, "interval": 3,
"ttl": 10 "ttl": 10
} }