Read secrets from files (*_FILE) #114

Merged
jcoffey-dev merged 1 commits from feat/secret-files into main 2026-11-19 00:39:53 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 5e9605ac54 Read APP_SECRET and OAUTH_CLIENT_SECRET from files
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m45s
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / announce (pull_request) Skipped
APP_SECRET_FILE, APP_SECRET_PREVIOUS_FILE and OAUTH_CLIENT_SECRET_FILE
read the secret from a mounted file, with one trailing newline dropped.
Both forms set, or a file that can't be read or is empty, stops the start
with an error naming the variable and path, never the value.

README: the read-only root filesystem, and what the webmail writes.
2026-11-18 17:06:26 -07:00