Passport/settings.toml

53 lines
1.1 KiB
TOML
Raw Normal View History

2024-06-16 14:16:09 +00:00
id = "passport01"
2024-06-26 07:17:10 +00:00
name = "Solarpass"
2024-01-28 16:32:39 +00:00
frontend_app = "web/dist"
2024-01-28 16:32:39 +00:00
bind = "0.0.0.0:8444"
2024-02-20 13:46:15 +00:00
grpc_bind = "0.0.0.0:7444"
domain = "localhost"
2024-01-28 16:32:39 +00:00
secret = "LtTjzAGFLshwXhN4ZD4nG5KlMv1MWcsvfv03TSZYnT1VhiAnLIZFTnHUwR0XhGgi"
content_endpoint = "https://usercontent.solsynth.dev"
2024-06-07 12:50:27 +00:00
apns_topic = "dev.solsynth.solian.Runner"
apns_credentials = ""
apns_credentials_team = "000000000"
apns_credentials_key = "000000000"
firebase_credentials = ""
use_registration_magic_token = false
2024-01-29 08:11:59 +00:00
[debug]
database = false
print_routes = false
2024-06-16 14:16:09 +00:00
[consul]
addr = "127.0.0.1:8500"
2024-01-29 08:11:59 +00:00
[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
2024-01-28 16:32:39 +00:00
[database]
dsn = "host=localhost user=postgres password=password dbname=hy_passport port=5432 sslmode=disable"
2024-04-13 05:48:19 +00:00
prefix = "passport_"
2024-05-17 09:13:11 +00:00
[permissions.default]
CreatePosts = true
CreateAttachments = 1048576
2024-05-17 09:13:11 +00:00
[permissions.verified]
CreateRealms = true
CreateArticles = true
CreateAttachments = 26214400