Interactive/settings.toml
2024-07-16 10:53:02 +08:00

33 lines
735 B
TOML

id = "interactive01"
frontend = "https://lian.solsynth.dev"
bind = "0.0.0.0:8445"
grpc_bind = "0.0.0.0:7445"
domain = "im.solsynth.dev"
secret = "LtTjzAGFLshwXhN4ZD4nG5KlMv1MWcsvfv03TSZYnT1VhiAnLIZFTnHUwR0XhGgi"
[debug]
database = false
print_routes = false
[dealer]
addr = "127.0.0.1:7442"
[mailer]
name = "Alphabot <alphabot@smartsheep.studio>"
smtp_host = "smtp.exmail.qq.com"
smtp_port = 465
username = "alphabot@smartsheep.studio"
password = "gz937Zxxzfcd9SeH"
[security]
cookie_domain = "localhost"
cookie_samesite = "Lax"
access_token_duration = 300
refresh_token_duration = 2592000
[database]
dsn = "host=localhost user=postgres password=password dbname=hy_interactive port=5432 sslmode=disable"
prefix = "interactive_"