mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 23:30:05 +02:00
build: update docker-compose ports
This commit is contained in:
parent
86662ae170
commit
b8dfb73959
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user