Messaging/settings.toml
2024-03-26 23:05:13 +08:00

36 lines
790 B
TOML

name = "Solarplaza"
maintainer = "SmartSheep Studio"
bind = "0.0.0.0:8447"
domain = "feed.smartsheep.studio"
secret = "LtTjzAGFLshwXhN4ZD4nG5KlMv1MWcsvfv03TSZYnT1VhiAnLIZFTnHUwR0XhGgi"
content = "uploads"
[debug]
database = true
print_routes = false
[identity]
client_id = "solarecho"
client_secret = "Z9k9AFTj^p"
endpoint = "http://localhost:8444"
grpc_endpoint = "127.0.0.1:7444"
[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 dbname=hy_messaging port=5432 sslmode=disable"
prefix = "messaging_"