Commit 7e94f31d authored by Ave's avatar Ave 🤔

Merge branch 'pgsql-pr' into 'master'

Push changes for PGSQL additions

See merge request !1
parents fd94f98f df772d9b
## a3.pm
a3.pm is an ejabberd instance that intends to be up to date, with as many stock ejabberd features enabled as possible to give the best possible user experience.
This repo contains the config file with minimal differences (we don't commit passwords etc, see comments that say `lavatech` to find those).
The config is released under GNU General Public License v2.0 as the config file we're basing this on (ejabberd default) is using that license.
......@@ -431,6 +431,9 @@ auth_password_format: scram
## you want to use other database backends.
## Please consult the ejabberd Guide for details on database creation.
# Set the default option for modules to SQL
default_db: sql
##
## MySQL server:
##
......@@ -446,11 +449,11 @@ auth_password_format: scram
##
## PostgreSQL server:
##
## sql_type: pgsql
## sql_server: "server"
## sql_database: "database"
## sql_username: "username"
## sql_password: "password"
sql_type: pgsql
## sql_server: "localhost"
## sql_database: "ejabberd"
## sql_username: "ejabberd"
sql_password: "password" ## lavatech: Set this to your pgsql password
##
## If you want to specify the port:
## sql_port: 1234
......@@ -486,7 +489,7 @@ auth_password_format: scram
##
## Use the new SQL schema
##
## new_sql_schema: true
new_sql_schema: true
###. ===============
###' TRAFFIC SHAPERS
......@@ -806,7 +809,8 @@ modules:
## XEP-0313: Message Archive Management
## You might want to setup a SQL backend for MAM because the mnesia database is
## limited to 2GB which might be exceeded on large servers
mod_mam: {} # for xep0313, mnesia is limited to 2GB, better use an SQL backend
mod_mam:
compress_xml: true
mod_muc:
## host: "conference.@HOST@"
access:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment