Make database settings configurable

This commit is contained in:
Julian Rother 2025-02-07 00:52:10 +01:00
parent b1798cf33f
commit b33fae4ccd
Signed by: julian
GPG key ID: C19B924C0CD13341
3 changed files with 31 additions and 14 deletions

View file

@ -15,6 +15,18 @@ mailman:
change_pw: True
ldap: False
session_timeout: 3600
db:
ENGINE: django.db.backends.sqlite3
NAME: /var/lib/mailman3/web/mailman3web.db
USER: ''
PASSWORD: ''
HOST: ''
PORT: ''
OPTIONS: {}
db:
class: mailman.database.sqlite.SQLiteDatabase
url: 'sqlite:///$DATA_DIR/mailman.db'
debug: 'no'
archiver:
key: "{{ lookup('password', '/dev/null length=128') }}"
list_defaults: