From 94cad3931f4bba5b7634b42dc69c2edd9754fe82 Mon Sep 17 00:00:00 2001 From: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com> Date: Mon, 12 Feb 2024 04:42:40 +0000 Subject: [PATCH] Implement Honoroit support bot Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com> --- .../honoroit-hssupport.env | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srv/Matrix-Docker-Compose/honoroit-hssupport.env diff --git a/srv/Matrix-Docker-Compose/honoroit-hssupport.env b/srv/Matrix-Docker-Compose/honoroit-hssupport.env new file mode 100644 index 0000000..c932867 --- /dev/null +++ b/srv/Matrix-Docker-Compose/honoroit-hssupport.env @@ -0,0 +1,21 @@ +HONOROIT_HOMESERVER='https://matrix.arcticfoxes.net' +HONOROIT_LOGIN='support' +HONOROIT_PASSWORD='REDACTED' +HONOROIT_ROOMID='!syfZjsMwLGTYYAPdof:arcticfoxes.net' +HONOROIT_DB_DIALECT='postgres' +POSTGRES_PASSWORD='REDACTED' +HONOROIT_DB_DSN="host=/var/run/postgresql dbname=honoroit-hssupport user=honoroit-hssupport password=${POSTGRES_PASSWORD}" + +# ================== +# PostgreSQL Setup +# ================== +# sudo -u postgres -i +# createuser --pwprompt honoroit-hssupport +# createdb --encoding=UTF8 --locale=C --template=template0 --owner=honoroit-hssupport honoroit-hssupport + +# ================ +# Honoroit Setup +# ================ +# /plain !ho config ignore.nothread true +# /plain !ho config text.greetings Thank you for your inquiry. A server administrator will respond as soon as possible. +# /plain !ho config text.error An error occurred while trying to deliver your message. If this keeps happening, please use one of the alternate contact methods listed at https://arcticfoxes.net/.well-known/matrix/support.