QUBIT_SECRET_KEY is required.
Booleans accept true/false, 1/0, yes/no and on/off.path QUBIT_SECRET_KEYstringrequiredopenssl rand -base64 32 or qubit-server gen-secret. Back it up: see
Backups.path QUBIT_SECRET_KEY_PREVIOUSstringdefault: unsetpath QUBIT_LISTENaddressdefault: 0.0.0.0:8787path QUBIT_METRICS_LISTENaddressdefault: 0.0.0.0:9787/metrics. off turns it off. Metrics are never served on the public
port.path DATABASE_URLstringdefault: sqlite:///data/qubit.dbsqlite://<path>, or postgres://… / postgresql://…. Postgres TLS options such as
?sslmode=require work. See PostgreSQL.path QUBIT_DB_MAX_CONNECTIONSnumberdefault: 10path RUST_LOGstringdefault: infoinfo,qubit_server=debug.path QUBIT_PUBLIC_URLurldefault: unsethttps://qubit.example.com. Used in invite links
(<url>/invite/<token>), as the default SMTP EHLO name, and as the dashboard's address when
QUBIT_WEB_URL is unset.path QUBIT_WEB_URLurldefault: QUBIT_PUBLIC_URLpath QUBIT_WEB_DIRpathdefault: /usr/share/qubit/web in the imageapp.html and app-assets/) for the server to serve itself. The server
refuses to start if the directory has no app.html.path QUBIT_TRUST_PROXYbooleandefault: falsetrue, the client IP is the last X-Forwarded-For entry, the one your own proxy
appended. Turn it on only behind a proxy you control. Audit logs and rate limits use this IP.path QUBIT_ALLOW_SIGNUPSbooleandefault: truepath QUBIT_SESSION_TTL_HOURSnumberdefault: 720path QUBIT_INVITE_TTL_HOURSnumberdefault: 168path QUBIT_LOGIN_ATTEMPTS_PER_15MINnumberdefault: 10429. Counted in memory, per replica.path QUBIT_SMTP_URLurldefault: unsetsmtps://user:pass@host:465 (implicit TLS) or smtp://user:pass@host:587?tls=required
(STARTTLS). Percent-encode the username and password.path QUBIT_SMTP_FROMstringdefault: unsetQubit <[email protected]>. Required with QUBIT_SMTP_URL.path QUBIT_SMTP_HELOstringdefault: host of QUBIT_PUBLIC_URLlocalhost.QUBIT_STRIPE_SECRET_KEY is set, so a self-hosted server has no plans and no
member limits. Leave these unset. Qubit Cloud uses them.path QUBIT_STRIPE_SECRET_KEYstringdefault: unsetpath QUBIT_STRIPE_WEBHOOK_SECRETstringdefault: unsetQUBIT_PUBLIC_URL/webhooks/stripe. Required with the key.
Subscribe it to checkout.session.completed, customer.subscription.created, .updated,
.deleted, .paused, .resumed, invoice.payment_failed and invoice.payment_succeeded.path QUBIT_STRIPE_PRICE_LOOKUP_KEYstringdefault: qubit_business_monthlypath QUBIT_STRIPE_PORTAL_CONFIGURATIONstringdefault: unsetbpc_… customer portal configuration. Stripe's default when unset.path QUBIT_STRIPE_API_URLurldefault: https://api.stripe.compath QUBIT_FREE_MEMBER_LIMITnumberdefault: 1QUBIT_WEB_URL (or QUBIT_PUBLIC_URL) is required.