2024-06-16 14:16:09 +00:00
|
|
|
id = "passport01"
|
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"
|
2024-04-20 17:33:42 +00:00
|
|
|
domain = "localhost"
|
2024-01-28 16:32:39 +00:00
|
|
|
secret = "LtTjzAGFLshwXhN4ZD4nG5KlMv1MWcsvfv03TSZYnT1VhiAnLIZFTnHUwR0XhGgi"
|
|
|
|
|
2024-06-07 12:50:27 +00:00
|
|
|
apns_topic = "dev.solsynth.solian.Runner"
|
2024-06-06 16:15:43 +00:00
|
|
|
apns_credentials = ""
|
|
|
|
apns_credentials_team = "000000000"
|
|
|
|
apns_credentials_key = "000000000"
|
|
|
|
firebase_credentials = ""
|
|
|
|
|
2024-02-18 07:51:27 +00:00
|
|
|
use_registration_magic_token = false
|
2024-01-29 08:11:59 +00:00
|
|
|
|
2024-03-22 16:28:27 +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"
|
|
|
|
|
2024-02-18 07:51:27 +00:00
|
|
|
[security]
|
|
|
|
cookie_domain = "localhost"
|
|
|
|
cookie_samesite = "Lax"
|
2024-02-18 08:26:46 +00:00
|
|
|
auto_signoff_duration = 86400
|
2024-02-18 07:51:27 +00:00
|
|
|
access_token_duration = 300
|
|
|
|
refresh_token_duration = 2592000
|
|
|
|
|
2024-01-28 16:32:39 +00:00
|
|
|
[database]
|
2024-05-27 15:00:49 +00:00
|
|
|
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]
|
|
|
|
CreatePaperclipAttachments = 1048576
|
|
|
|
|
|
|
|
[permissions.verified]
|
2024-05-22 14:51:30 +00:00
|
|
|
CreatePaperclipAttachments = 26214400
|