Skip to content

Commit 44d6916

Browse files
committed
♻️ refactor(docker-compose): Remove unused WEBSERVER_CLUSTERS environment variable
1 parent 4302873 commit 44d6916

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/pytest-simcore/src/pytest_simcore/environment_configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def docker_compose_service_environment_dict(
136136
service = services_docker_compose_dict["services"][service_name]
137137

138138
def _substitute(key, value) -> tuple[str, str]:
139-
if m := re.match(r"\${([^{}:-]\w+)", value):
139+
if m := re.match(r"\${([^{}:-]\w+)", f"{value}"):
140140
expected_env_var = m.group(1)
141141
try:
142142
# NOTE: if this raises, then the RHS env-vars in the docker-compose are

services/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,6 @@ services:
11271127
WEBSERVER_ACTIVITY: "null"
11281128
WEBSERVER_ANNOUNCEMENTS: 0
11291129
WEBSERVER_CATALOG: "null"
1130-
WEBSERVER_CLUSTERS: ${WEBSERVER_CLUSTERS}
11311130
WEBSERVER_DB_LISTENER: 0
11321131
WEBSERVER_DIRECTOR_V2: "null"
11331132
WEBSERVER_EMAIL: "null"

0 commit comments

Comments
 (0)