47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
id = "passport01"
|
|
name = "Solarpass"
|
|
|
|
bind = "0.0.0.0:8442"
|
|
grpc_bind = "0.0.0.0:7442"
|
|
domain = "localhost"
|
|
secret = "LtTjzAGFLshwXhN4ZD4nG5KlMv1MWcsvfv03TSZYnT1VhiAnLIZFTnHUwR0XhGgi"
|
|
|
|
content_endpoint = "https://usercontent.solsynth.dev"
|
|
|
|
apns_topic = "dev.solsynth.solian.Runner"
|
|
apns_credentials = ""
|
|
apns_credentials_team = "000000000"
|
|
apns_credentials_key = "000000000"
|
|
firebase_credentials = ""
|
|
|
|
use_registration_magic_token = false
|
|
|
|
[dealer]
|
|
addr = "127.0.0.1:8442"
|
|
|
|
[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" |