flaschengeist/flaschengeist.example.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

97 lines
1.9 KiB
TOML
Raw Normal View History

[FLASCHENGEIST]
2020-09-03 15:56:12 +00:00
# Select authentication provider (builtin: auth_plain, auth_ldap)
auth = "auth_plain"
2020-09-03 15:56:12 +00:00
# Enable if you run flaschengeist behind a proxy, e.g. nginx + gunicorn
#proxy = false
2020-09-03 15:56:12 +00:00
# Set root path, prefixes all routes
#root = /api
# Set secret key
secret_key = "V3ryS3cr3t"
# Domain used by frontend
#domain = "flaschengeist.local"
[LOGGING]
file = "/tmp/flaschengeist-debug.log"
# DEBUG INFO WARNING ERROR
#level = "WARNING"
[DATABASE]
user = "user"
host = "127.0.0.1"
password = "password"
database = "database"
[auth_plain]
enabled = true
#[auth_ldap]
# enabled = true
# host =
# port =
# bind_dn =
# base_dn =
# secret =
# use_ssl =
# admin_dn =
# admin_dn =
# default_gid =
[MESSAGES]
welcome_subject = "Welcome to Flaschengeist {name}"
welcome_text = '''
Hello {name}!
Welcome to Flaschengeist!
Have fun :)
'''
password_subject = "Flaschengeist - Password reset"
password_text = '''
Hello {name}!
There was a password reset request for username: {username}
To change your password, click on this link:
{link}
'''
password_changed_subject = "Flaschengeist - Password changed"
password_changed_text = '''
Hello {name}!
Your password was changed for username: {username}
If this was not you, please contact the support.
'''
##################
# PLUGINS #
##################
2020-10-30 23:02:02 +00:00
#[users]
# always enabled
2020-10-30 23:02:02 +00:00
#
## allowed values: false, "managed", "public"
## false: Disable registration
## "managed": only users with matching permission are allowed to register new users
## "public": Also unauthenticated users can register an account
2020-10-30 23:02:02 +00:00
# registration = False
############################
# Configuration of plugins #
############################
#[mail]
# enabled = true
# SERVER =
# PORT =
# USER =
# PASSWORD =
# MAIL =
# SSL or STARTLS
# CRYPT = SSL
[balance]
enabled = true
# Enable a default limit, will be set if no other limit is set
# limit = -10.00
[geruecht]
enabled = false