hotfix: make delimiter 2 underscores instead of one for env variables

This commit is contained in:
maxDorninger
2025-07-11 18:58:58 +02:00
parent 661e31eb50
commit dc981b7d21
4 changed files with 12 additions and 12 deletions

View File

@@ -7,7 +7,7 @@ Frontend settings are configured through environment variables in your `docker-c
## Configuration File Location
Your `config.toml` file should be mounted to `/data/config.toml` inside the container:
Your `config.toml` file should be mounted to `/app/config.toml` inside the container:
```yaml
volumes:
@@ -43,7 +43,7 @@ token_secret = "your_super_secret_key_here"
But you can also set it through an environment variable:
```
AUTH_TOKEN_SECRET = "your_super_secret_key_here"
AUTH__TOKEN_SECRET = "your_super_secret_key_here"
```
or another example with the OIDC client secret:
@@ -58,10 +58,10 @@ client_secret = "your_client_secret_from_provider"
env variable:
```
AUTH_OPENID_CONNECT_CLIENT_SECRET = "your_client_secret_from_provider"
AUTH__OPENID_CONNECT__CLIENT_SECRET = "your_client_secret_from_provider"
```
So for every config "level", you basically have to take the name of the value and prepend it with the section names in
uppercase with underscores as delimiters.
uppercase with 2 underscores as delimiters.