Skip to content

Commit 560798a

Browse files
authored
Configure host in different environs (#1389)
Fixes url resolution of catalog in webserver environ
1 parent 5932f7f commit 560798a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

services/docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ services:
6262
- DIRECTOR_PORT=8080
6363
- STORAGE_HOST=storage
6464
- STORAGE_PORT=8080
65+
- CATALOG_HOST=${CATALOG_HOST:-catalog}
6566
- SWARM_STACK_NAME=${SWARM_STACK_NAME:-simcore}
6667
- WEBSERVER_MONITORING_ENABLED=1
6768
- WEBSERVER_LOGLEVEL=${LOG_LEVEL:-WARNING}

services/web/server/src/simcore_service_webserver/config/server-docker-prod.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ storage:
6565
port: ${STORAGE_PORT}
6666
version: v0
6767
catalog:
68-
host: catalog
68+
host: ${CATALOG_HOST}
6969
port: 8000
7070
version: v0
7171
rest:

0 commit comments

Comments
 (0)