# ZITADEL runtime config（dev / k6 用，TLS 關閉）
# 完整選項：https://zitadel.com/docs/self-hosting/manage/configure
ExternalDomain: localhost
ExternalPort: 8080
ExternalSecure: false
TLS:
  Enabled: false

Port: 8080

Database:
  postgres:
    Host: postgres
    Port: 5432
    Database: zitadel
    MaxOpenConns: 20
    MaxIdleConns: 5
    MaxConnLifetime: 30m
    MaxConnIdleTime: 5m
    User:
      Username: postgres
      Password: postgres
      SSL:
        Mode: disable
    Admin:
      Username: postgres
      Password: postgres
      SSL:
        Mode: disable

Log:
  Level: info

DefaultInstance:
  LoginPolicy:
    AllowRegister: true
    AllowUsernamePassword: true
    AllowExternalIDP: false
    ForceMFA: false
    HidePasswordReset: false
    PasswordlessType: 1
