Commit Graph

12 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
1f2d8159d0 Update simplelogin-install.sh 2026-03-16 18:00:50 +01:00
CanbiZ (MickLesk)
817b0ea517 Split Discourse services; update SimpleLogin setup
Add DISCOURSE_PUMA_BIND to Discourse env and switch the discourse.service to load EnvironmentFile=/opt/discourse/.env. Create a separate systemd unit for Sidekiq (discourse-sidekiq.service), enable both services, and adjust messaging to "Services". In simplelogin install: remove git from apt list, bump PostgreSQL setup from 16 to 17, and export FLASK_APP=server before running migrations/initialization so Flask commands run with the correct app context.
2026-03-16 17:50:37 +01:00
CanbiZ (MickLesk)
6fd1b2e96d Enable vector and load .env in installers
Discourse install: add PG_DB_EXTENSIONS="vector" to setup_postgresql_db and remove the separate CREATE EXTENSION psql call; also remove curl and git from the apt install list and drop the automatic admin bootstrap messaging. SimpleLogin install: source /opt/simplelogin/.env before running migrations and add EnvironmentFile=/opt/simplelogin/.env to the systemd unit files (gunicorn, email_handler, job_runner) so services inherit environment variables.
2026-03-16 17:40:49 +01:00
CanbiZ (MickLesk)
faf5c6d7ff 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).
2026-03-16 17:27:09 +01:00
CanbiZ (MickLesk)
ab88156e2e Add NOT_SECURED and newrelic stub
Set NOT_SECURED=true in postiz install script for local/non-secured setups. In simplelogin install, detect the venv site-packages path and create a minimal newrelic package stub (newrelic/__init__.py and newrelic/agent.py) with no-op record_custom_event and initialize functions to avoid import errors when New Relic is not present.
2026-03-05 16:31:07 +01:00
CanbiZ (MickLesk)
cb1e2728e9 some fixes 2026-03-05 15:14:42 +01:00
MickLesk
eb57e0f20e fix 2026-02-22 20:01:57 +01:00
MickLesk
51488d1f00 fix login 2026-02-22 19:50:56 +01:00
MickLesk
12b1084e21 test 2026-02-22 19:40:32 +01:00
MickLesk
0184691d7c fixes 2026-02-22 19:28:37 +01:00
MickLesk
f0d0005d31 add pkg-config 2026-02-22 19:20:28 +01:00
MickLesk
4498913fc9 simpleLogin 2026-02-22 18:09:24 +01:00