Skip to content

Open-source personal finance manager. Self-hosted, privacy-first.

1.9 KB
Raw Blame
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/securo
SECRET_KEY=change-me-in-production
DEBUG=true
PLUGGY_CLIENT_ID=
PLUGGY_CLIENT_SECRET=
PLUGGY_OAUTH_REDIRECT_URI=http://localhost:5173/oauth/callback
FRONTEND_URL=http://localhost:5173
REDIS_URL=redis://localhost:6379/0
# Brazilian Treasury bond prices. On by default; set to false to disable
# (e.g. to avoid the dependency on the Brazilian government CSV endpoint).
TESOURO_DIRETO_ENABLED=true

# Names the banks behind a Pluggy connection that groups several brands, by
# looking the account's COMPE code up on BrasilAPI (public Central Bank
# registry mirror). Off by default: nothing leaves the server until you opt
# in. When on, only the three-digit code is sent, never your data, and only
# for a connection whose accounts of one type sit at different banks.
BRASILAPI_INSTITUTION_LOOKUP_ENABLED=false

# Number of trusted reverse proxies in front of the backend (the bundled nginx
# frontend counts as 1). Rate limiting keys requests by client IP; leaving this
# at 0 in a proxied deployment means every client shares one rate-limit bucket.
TRUSTED_PROXY_HOPS=0

# Optional OIDC login (Authentik, Pocket ID, or standard OIDC providers)
OIDC_ENABLED=false
OIDC_PROVIDER_NAME=OIDC
OIDC_DISCOVERY_URL=
OIDC_CLIENT_ID=
OIDC_CLIENT_SECRET=
# Defaults to ${FRONTEND_URL}/api/auth/oidc/callback
OIDC_REDIRECT_URI=
# Quoted on purpose: values with spaces must be quoted for deploy scripts
# that source this file with a shell. Compose and the backend strip the quotes.
OIDC_SCOPES="openid email profile"
OIDC_AUTO_REGISTER=true
OIDC_REQUIRE_VERIFIED_EMAIL=true
# Set to false only with OIDC_ENABLED=true, OIDC_CLIENT_ID, and OIDC_DISCOVERY_URL configured
LOCAL_AUTH_ENABLED=true
# Public sign-up; an administrator's saved toggle wins over it.
# REGISTRATION_ENABLED=false
OIDC_SYNC_ROLES=false
OIDC_ROLES_CLAIM=groups
OIDC_ADMIN_ROLES=
OIDC_WORKSPACE_ROLE_MAP=