(backend) support _FILE environment variables for secrets

Allow configuration variables that handles secrets, like
`DJANGO_SECRET_KEY` to be able to read from a file which is given
through an environment file.

For example, if `DJANGO_SECRET_KEY_FILE` is set to
`/var/lib/docs/django-secret-key`, the value of `DJANGO_SECRET_KEY` will
be the content of `/var/lib/docs/django-secret-key`.
This commit is contained in:
soyouzpanda
2025-04-28 18:18:39 +02:00
parent 7e63e9e460
commit 31e8ed3a00
2 changed files with 11 additions and 9 deletions

View File

@@ -33,6 +33,7 @@ and this project adheres to
- 🐛(frontend) fix meta title #1017
- 🔧(git) set LF line endings for all text files #1032
- 📝(docs) minor fixes to docs/env.md
- ✨(backend) support `_FILE` environment variables for secrets #912
### Removed