docker: split internal & external api
This commit is contained in:
parent
cf1fdb4099
commit
ecbd102aef
@ -20,6 +20,8 @@ services:
|
|||||||
"--debug","serve",
|
"--debug","serve",
|
||||||
# http service port
|
# http service port
|
||||||
"--port","8082",
|
"--port","8082",
|
||||||
|
# internal http endpoints
|
||||||
|
"--port-internal","8083",
|
||||||
# postgres
|
# postgres
|
||||||
"--pg-host","10.0.0.29",
|
"--pg-host","10.0.0.29",
|
||||||
"--pg-port","5432",
|
"--pg-port","5432",
|
||||||
@ -53,6 +55,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- RBXCOOKIE
|
- RBXCOOKIE
|
||||||
- API_HOST=http://mapsservice:8082
|
- API_HOST=http://mapsservice:8082
|
||||||
|
- API_HOST_INTERNAL=http://mapsservice:8083
|
||||||
- NATS_HOST=nats:4222
|
- NATS_HOST=nats:4222
|
||||||
- DATA_HOST=http://dataservice:9000
|
- DATA_HOST=http://dataservice:9000
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user