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]
|
2024-10-20 11:04:41 +00:00
|
|
|
dsn = "host=localhost user=postgres dbname=postgres password=password port=5432 sslmode=disable"
|
|
|
|
prefix = "sn_"
|
2024-10-19 14:36:33 +00:00
|
|
|
|
|
|
|
[scraper]
|
|
|
|
user-agent = "SolarBot/1.0"
|