sacn_accout_system/config.sample.toml

28 lines
556 B
TOML

[db]
host = "192.168.10.119"
port = 3306
user = "sacn"
passwd = "your_passwd"
db = "sacn_accout"
maxsize = 100
minsize = 10
[common]
algorithm = "HS256"
access_token_expire_minutes = 60
access_email_expire_minutes = 1
root = "http://127.0.0.1:8000"
clean_timeout = 3600
manage_key = "some_random_key_for_init"
redirect_url_whitelist = ["/user", "/login", "/signup", "127.0.0.1:8000"]
[flarum]
fl_server = "http://127.0.0.1:4000"
fl_apikey = "some_long_key"
[email]
smtp_srv = "smtp.qq.com"
port = 465
addr = "you_email"
passwd = "you_email_access_code"