Passport/settings.toml

44 lines
974 B
TOML
Raw Normal View History

2024-01-28 16:32:39 +00:00
name = "Goatpass"
maintainer = "Solsynth LLC"
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"
use_registration_magic_token = false
2024-01-29 08:11:59 +00:00
[debug]
database = false
print_routes = false
[paperclip]
endpoint = "http://localhost:8443"
grpc_endpoint = "localhost:7443"
[external.firebase]
credentials = "dist/firebase-certs.json"
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"
2024-02-18 08:26:46 +00:00
auto_signoff_duration = 86400
access_token_duration = 300
refresh_token_duration = 2592000
2024-01-28 16:32:39 +00:00
[database]
2024-04-13 05:48:19 +00:00
dsn = "host=localhost dbname=hy_passport port=5432 sslmode=disable"
prefix = "passport_"
2024-05-17 09:13:11 +00:00
[permissions.default]
CreatePaperclipAttachments = 1048576
[permissions.verified]
CreatePaperclipAttachments = 26214400