EinsatzOnline/config/development.toml

40 lines
1.3 KiB
TOML

[database]
connection_string = "postgresql://postgres:qwertz@localhost:5432/postgres"
[application]
url = "http://localhost:8000/"
name = "einsatz.online"
default_language = "de-DE"
fallback_language = "en-US"
loglevel = "debug"
#Session timeout in seconds. Default is 15 minutes
session_timeout = 900
upload_path = "uploads/"
#Maximum login attempts until email is locked for login
max_login_attempts = 6
#Duration of email lock after max_login_attempts in seconds. Default is 30 minutes
login_lock_duration = 1800
#How long does it take until tokens expire?
reset_password_token_valid_duration = 3600
user_support_email = "support@einsatz.online"
new_member_default_role = "member"
default_timezone = "Europe/Berlin"
[mail]
from = "No Reply <noreply@localhost>"
reply_to = "support@localhost"
#type_id for emails in communication_types table to enable communicator email functionality
communication_email_type_id = "a0a93b6e-f200-11ea-ad50-e86a6451da25"
smtp_host = "mail.example.com"
smtp_username = "user"
smtp_password = "password"
[api]
default_pagination_limit = 20
[billing]
#If set true members don't need billing related permissions if they are member_responsible for specific event
member_responsible_overwrites_permissions = true
send_personnel_billing_to_email = true
personnel_billing_emails = "receiver@localhost,receiver2@localhost"