mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-20 07:54:19 +02:00
hotfix: make delimiter 2 underscores instead of one for env variables
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user