27 lines
744 B
TOML
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"]
|