lightscale-admin/config.example.toml
centra 98eb7057a5
Some checks failed
build-local-image / build (push) Has been cancelled
Implement user-bound join flows and add admin image build pipeline
2026-02-14 15:46:25 +09:00

27 lines
744 B
TOML

[server]
bind = "0.0.0.0:8081"
base_url = "http://localhost:8081"
allowed_origins = ["http://localhost:5173"]
static_dir = "frontend/dist"
[database]
url = "postgresql://root@localhost:26257/lightscale_admin?sslmode=disable"
max_connections = 20
# Optional override. CockroachDB is auto-detected and migration locking is disabled automatically.
disable_migration_locking = true
[auth]
session_ttl_minutes = 720
cookie_secure = false
# cookie_domain = "admin.lightscale.local"
bootstrap_admin_email = "admin@example.com"
bootstrap_admin_password = "change-me"
allow_user_signup = false
[[oidc]]
id = "google"
name = "Google"
issuer_url = "https://accounts.google.com"
client_id = ""
client_secret = ""
scopes = ["openid", "email", "profile"]