2026-09-24 14:35:05 +03:00
|
|
|
DATABASE_URL=postgresql://meguri:change-me@127.0.0.1:5432/meguri
|
|
|
|
|
MEGURI_BIND=127.0.0.1:3000
|
|
|
|
|
MEGURI_PUBLIC_URL=http://127.0.0.1:3000
|
|
|
|
|
MEGURI_ROLE=all
|
2026-10-07 13:28:43 +01:00
|
|
|
# Instance configuration: workspaces, group mappings and sign-in methods. Required to start,
|
|
|
|
|
# except in demo mode (MEGURI_SEED_DEMO=true), which uses a built-in configuration and ignores this.
|
|
|
|
|
# See deploy/instance-config.example.yaml.
|
|
|
|
|
MEGURI_CONFIG_FILE=/etc/meguri/config.yaml
|
|
|
|
|
# Deployment secret of the confidential OIDC client; required when the configuration has an oidc block.
|
|
|
|
|
# MEGURI_OIDC_CLIENT_SECRET=from-your-secret-manager
|
|
|
|
|
# Allows a configuration without workspaces to disable every existing workspace (normally refused).
|
|
|
|
|
# MEGURI_ALLOW_DISABLE_ALL=false
|
2026-09-24 14:35:05 +03:00
|
|
|
MEGURI_SEED_DEMO=false
|
2026-10-07 13:28:43 +01:00
|
|
|
# Demo only: adds n empty "Sandbox" workspaces for automated browser checks (0-20).
|
|
|
|
|
# MEGURI_DEMO_SANDBOXES=0
|
2026-09-24 14:35:05 +03:00
|
|
|
# Optional separately provisioned empty demo database. Protected databases are never reset.
|
|
|
|
|
# MEGURI_DEMO_DATABASE_URL=postgresql://demo:change-me@127.0.0.1:5432/meguri_demo
|
|
|
|
|
MEGURI_DEMO_WORKSPACE_TTL_SECONDS=86400
|
|
|
|
|
MEGURI_DEMO_ACCOUNT_TTL_SECONDS=172800
|
|
|
|
|
MEGURI_DEMO_REQUEST_TTL_SECONDS=7200
|
|
|
|
|
MEGURI_DEMO_EVENT_TTL_SECONDS=21600
|
|
|
|
|
MEGURI_DEMO_PURGE_GRACE_SECONDS=600
|
|
|
|
|
MEGURI_SKIP_MIGRATIONS=false
|
|
|
|
|
RUST_LOG=meguri=info,cot=warn
|
|
|
|
|
# Tenant-specific JSM deployment secrets. Replace UUID_WITHOUT_DASHES with uppercase tenant ID.
|
|
|
|
|
# MEGURI_JSM_UUID_WITHOUT_DASHES_EMAIL=integration@example.com
|
|
|
|
|
# MEGURI_JSM_UUID_WITHOUT_DASHES_TOKEN=from-your-secret-manager
|