fix(smtp): inject SMTP password secret via entrypoint, not *_FILE
The official discourse/discourse image has no *_FILE support, so DISCOURSE_SMTP_PASSWORD_FILE was silently ignored and SMTP auth booted without a password. Read the secret in the wrapper entrypoint and export DISCOURSE_SMTP_PASSWORD, mirroring the DB password handling. Bump APP_ENTRYPOINT_VERSION so the new entrypoint config redeploys. Add release notes for the bitnami->official SMTP env var renames. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
This release switches from the bitnami image to the official discourse/discourse
|
||||
image. Some env vars need to be renamed for this migration; everything else
|
||||
should happen automatically.
|
||||
|
||||
Rename these in your app's .env (the values carry over):
|
||||
|
||||
DISCOURSE_SMTP_HOST --> DISCOURSE_SMTP_ADDRESS
|
||||
DISCOURSE_SMTP_USER --> DISCOURSE_SMTP_USER_NAME
|
||||
DISCOURSE_SMTP_AUTH --> DISCOURSE_SMTP_AUTHENTICATION
|
||||
DISCOURSE_SMTP_PROTOCOL --> DISCOURSE_SMTP_ENABLE_START_TLS
|
||||
|
||||
Note: DISCOURSE_SMTP_ENABLE_START_TLS takes a boolean (true/false), not the old
|
||||
tls/ssl value, so translate it rather than copying it straight across.
|
||||
Reference in New Issue
Block a user