28 lines
661 B
TOML
28 lines
661 B
TOML
bind = "0.0.0.0:8001"
|
|
grpc_bind = "0.0.0.0:7001"
|
|
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_"
|
|
|
|
[scraper]
|
|
user-agent = "SolarBot/1.0" |