Update Postgres version and SimpleLogin mail env
Bump PostgreSQL target from 16 to 17 in discourse-install.sh and make pg_hba.conf lookup dynamic (uses find) instead of a hardcoded path, ensuring compatibility with systems where the data directory path differs. Also add EMAIL_SERVERS_WITH_PRIORITY and POSTFIX_SERVER entries to the SimpleLogin .env to configure local mail delivery (set to localhost).
This commit is contained in:
@@ -76,6 +76,8 @@ cat <<EOF >/opt/simplelogin/.env
|
||||
URL=http://${LOCAL_IP}
|
||||
EMAIL_DOMAIN=example.com
|
||||
SUPPORT_EMAIL=support@example.com
|
||||
EMAIL_SERVERS_WITH_PRIORITY=[(10, "localhost.")]
|
||||
POSTFIX_SERVER=localhost
|
||||
DB_URI=postgresql://${PG_DB_USER}:${PG_DB_PASS}@localhost/${PG_DB_NAME}
|
||||
FLASK_SECRET=${FLASK_SECRET}
|
||||
DKIM_PRIVATE_KEY_PATH=/opt/simplelogin/dkim/dkim.private
|
||||
|
||||
Reference in New Issue
Block a user