Commit Graph

14 Commits

Author SHA1 Message Date
CanbiZ (MickLesk)
f7a42823a4 Update discourse-install.sh 2026-03-16 18:25:17 +01:00
CanbiZ (MickLesk)
d382697368 Update discourse-install.sh 2026-03-16 17:53:52 +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)
f40baa4699 admin creation 2026-02-17 11:54:14 +01:00
CanbiZ (MickLesk)
c5b92b60b9 Update discourse-install.sh 2026-02-17 11:37:26 +01:00
CanbiZ (MickLesk)
c0f768e188 vector 2026-02-17 11:25:01 +01:00
CanbiZ (MickLesk)
dc8d48128c add pgvector 2026-02-17 11:13:48 +01:00
CanbiZ (MickLesk)
372e0b021b Update discourse-install.sh 2026-02-16 15:03:40 +01:00
CanbiZ (MickLesk)
ebdc965a34 Update discourse-install.sh 2026-02-16 12:51:32 +01:00
CanbiZ (MickLesk)
691992e013 test 2026-02-04 08:50:40 +01:00
CanbiZ (MickLesk)
f8687a1f1e check ruby 2026-02-04 08:12:53 +01:00
CanbiZ (MickLesk)
891d3396dc Add Discourse container install and metadata
Add support for deploying Discourse as a container: adds ct/discourse.sh (container build/install/update flow and resource defaults), frontend/public/json/discourse.json (app metadata, install resources, and notes), and install/discourse-install.sh (full installer that installs dependencies, Postgres/Node/Ruby, clones the Discourse repo, generates secrets and DB password saved to /opt/discourse/.env, installs gems and yarn, precompiles assets, runs migrations, creates an admin user, sets up a systemd service and nginx reverse proxy, and enables required services). Admin user 'admin' is created with a generated password stored in the .env file.
2026-02-02 13:45:58 +01:00