Skip to content

Commit 4d75a0c

Browse files
GitHKAndrei Neagu
andauthored
πŸ› adding missing env var to docker-compose.yaml (#5011)
Co-authored-by: Andrei Neagu <[email protected]>
1 parent 9cabec0 commit 4d75a0c

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

β€Ž.env-develβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ DIRECTOR_V2_DEV_FEATURES_ENABLED=0
4747
DYNAMIC_SIDECAR_IMAGE=${DOCKER_REGISTRY:-itisfoundation}/dynamic-sidecar:${DOCKER_IMAGE_TAG:-latest}
4848
DYNAMIC_SIDECAR_LOG_LEVEL=DEBUG
4949
DYNAMIC_SIDECAR_PROMETHEUS_SERVICE_LABELS={}
50+
DYNAMIC_SIDECAR_PROMETHEUS_MONITORING_NETWORKS=[]
5051

5152
FUNCTION_SERVICES_AUTHORS='{"UN": {"name": "Unknown", "email": "[email protected]", "affiliation": "unknown"}}'
5253

β€Ždocs/env-vars.mdβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Environment variables management
2+
3+
As a developer you will need to extend the current env vars for a service.
4+
5+
The following rules must be followed:
6+
7+
1. for each service that requires it, add it to the `services/docker-compose.yml` file (such as `MY_VAR=${MY_VAR}`)
8+
2. add a meaningful default value for development inside `.env-devel` so that developers can work, and that `osparc-simcore` is **self contained**.
9+
- **NOTE** if the variable has a default inside the code, put the same value here
10+
3. inside the repo where devops keep all the secrets follow the instructions to add the new env var

β€Žservices/docker-compose.ymlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ services:
198198
- SIMCORE_SERVICES_NETWORK_NAME=interactive_services_subnet
199199
- TRACING_THRIFT_COMPACT_ENDPOINT=${TRACING_THRIFT_COMPACT_ENDPOINT}
200200
- DYNAMIC_SIDECAR_PROMETHEUS_SERVICE_LABELS=${DYNAMIC_SIDECAR_PROMETHEUS_SERVICE_LABELS}
201+
- DYNAMIC_SIDECAR_PROMETHEUS_MONITORING_NETWORKS=${DYNAMIC_SIDECAR_PROMETHEUS_MONITORING_NETWORKS}
201202
env_file:
202203
- ../.env
203204
volumes:

0 commit comments

Comments
Β (0)