Skip to content

Commit e740050

Browse files
committed
Allow configuration of external draco host and port
1 parent 3d239a6 commit e740050

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

docker-compose/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ INITIAL_RUNTIME_TOKEN= # can be used to create a global runtime with given token
1414
AQUILA_SAGITTARIUS_URL=http://nginx:80
1515
AQUILA_SAGITTARIUS_TOKEN=
1616
DRACO_REST_PORT=8084
17+
DRACO_REST_HOST=127.0.0.1
1718

1819
TAURUS_AQUILA_TOKEN=taurus
1920
DRACO_REST_AQUILA_TOKEN=draco-rest

docker-compose/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ services:
199199
DEFINITION_PATH: '/definitions'
200200
HTTP_SERVER_PORT: 8084
201201
HTTP_SERVER_HOST: "0.0.0.0"
202+
EXTERNAL_HTTP_SERVER_PORT: "${DRACO_REST_PORT}"
203+
EXTERNAL_HTTP_SERVER_HOST: "${DRACO_REST_HOST}"
202204
AQUILA_TOKEN: "${DRACO_REST_AQUILA_TOKEN}"
203205
ports:
204206
- "${DRACO_REST_PORT}:8084"

0 commit comments

Comments
 (0)