diff options
| author | Chia <Chia@93.nz> | 2026-08-05 14:48:00 +1200 |
|---|---|---|
| committer | Chia <Chia@93.nz> | 2026-08-05 14:48:00 +1200 |
| commit | cd0dd91ab93653631904f2ea0e574ccde6d60339 (patch) | |
| tree | c65417b880a3f4a35c504c44edae821bc2122f70 /config.control.example.json | |
| parent | 86b1f42e3c5601ff10621a9779cf0076590797a1 (diff) | |
add passkey, totp.
Diffstat (limited to 'config.control.example.json')
| -rw-r--r-- | config.control.example.json | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/config.control.example.json b/config.control.example.json index 2cad589..2b05636 100644 --- a/config.control.example.json +++ b/config.control.example.json @@ -1,6 +1,6 @@ { "server": { - "address": ":8080", + "address_env": "AIGW_SERVER_ADDRESS", "max_body_bytes": 16777216, "read_header_timeout_seconds": 10, "idle_timeout_seconds": 120, @@ -24,7 +24,23 @@ "token_env": "AIGW_ADMIN_TOKEN", "base_path": "/admin", "registration_enabled": true, - "session_ttl_hours": 12 + "session_ttl_hours": 12, + "public_url_env": "AIGW_PUBLIC_URL", + "mail": { + "enabled": true, + "from_name": "AIGW", + "from_address_env": "AIGW_SMTP_FROM_ADDRESS", + "smtp_address_env": "AIGW_SMTP_ADDRESS", + "smtp_username_env": "AIGW_SMTP_USERNAME", + "smtp_password_env": "AIGW_SMTP_PASSWORD", + "tls_mode": "none" + }, + "webauthn": { + "enabled": true, + "rp_display_name": "AIGW Console", + "rp_id_env": "AIGW_WEBAUTHN_RP_ID", + "origins_env": "AIGW_WEBAUTHN_ORIGINS" + } }, "billing": { "enabled": true, @@ -36,8 +52,8 @@ "enabled": true, "api_key_env": "AIGW_STRIPE_API_KEY", "webhook_secret_env": "AIGW_STRIPE_WEBHOOK_SECRET", - "success_url": "http://127.0.0.1:8080/admin/?topup=success", - "cancel_url": "http://127.0.0.1:8080/admin/?topup=cancel" + "success_url_env": "AIGW_STRIPE_SUCCESS_URL", + "cancel_url_env": "AIGW_STRIPE_CANCEL_URL" } }, "upstream_http": { |
