Skip to content

Commit

Permalink
add readme with instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neagu committed Nov 13, 2023
1 parent 7086b0e commit 6e28ba5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/env-vars.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Environment variables management

As a developer you will need to extend the current env vars for a service.

The following rules must be followed:

1. for each service that requires it, add it to the `services/docker-compose.yml` file (such as `MY_VAR=${MY_VAR}`)
2. add a meaningful default value for development inside `.env-devel` so that developers can work, and that `osparc-simcore` is **self-consistent**.
- **NOTE** if the variable has a default inside the code, put the same value here
3. inside the repo where devops keep all the secrets follow the instructions to add the new env var

0 comments on commit 6e28ba5

Please sign in to comment.