Skip to content

Commit 333cc2c

Browse files
Updated README to include env _FILE suffix
1 parent c32787c commit 333cc2c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ providing a more secure way for users to access protected routes.
6969
| `SERVER_ADDRESS` | The server address | `:80` | No |
7070
| `DEBUG_MODE` | Enable debug mode and set log level to debug | `false` | No |
7171
| `LOG_LEVEL` | The log level, Available values: debug, info, warn, error | `info` | No |
72+
You can append `_FILE` to any of the environment variable names to load the value from a file.
73+
74+
E.g. `GITHUB_OAUTH_CLIENT_SECRET_FILE=/run/secrets/github_oauth_client_SECRET` where the content of the file `/run/secrets/github_oauth_client_SECRET` will be used as the environment variable.
7275

7376
### Middleware Configuration
7477

0 commit comments

Comments
 (0)