Passport/settings.toml
2024-07-24 17:33:05 +08:00

32 lines
591 B
TOML

id = "passport01"
name = "Solarpass"
frontend_app = "web/dist"
bind = "0.0.0.0:8444"
grpc_bind = "0.0.0.0:7444"
domain = "localhost"
content_endpoint = "https://usercontent.solsynth.dev"
default_user_group = 1
use_registration_magic_token = false
[debug]
database = false
print_routes = false
[dealer]
addr = "127.0.0.1:7442"
[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_passport port=5432 sslmode=disable"
prefix = "passport_"