Nexus/settings.toml

31 lines
751 B
TOML
Raw Normal View History

2024-10-20 09:23:53 +00:00
bind = "0.0.0.0:8001"
grpc_bind = "0.0.0.0:7001"
2024-10-19 14:36:33 +00:00
domain = "localhost"
secret = "LtTjzAGFLshwXhN4ZD4nG5KlMv1MWcsvfv03TSZYnT1VhiAnLIZFTnHUwR0XhGgi"
[debug]
database = false
print_routes = false
[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_dealer port=5432 sslmode=disable"
prefix = "dealer_"
[services]
aliases = { id = "auth", uc = "files", co = "interactive", im = "messaging" }
[scraper]
user-agent = "SolarBot/1.0"