Configuration reference
Every setting in the .env file of a Docker Compose installation, what it does, and how to apply a change.
Where settings live
A Docker Compose installation keeps every setting in the .env file in the installation folder. The installer writes it from .env.example and fills in fresh secrets. Keep it private: it is created readable by its owner only (mode 600).
On Kubernetes, the same settings go under env in your values file, and secrets in the secrets Secret. See Kubernetes secrets.
Apply a change
Edit .env, then recreate the VitalRix container:
nano .env # or any editor
./vitalrix restart # recreates the VitalRix container with the new settings
./vitalrix status # check that every service is healthy againChanges to VITALRIX_DOMAIN, VITALRIX_TLS or the ports also affect the HTTPS proxy: run ./vitalrix start after the restart so Docker Compose recreates it too.
Release
| Setting | Default | What it does |
|---|---|---|
VITALRIX_VERSION | The bundle's version | The release that runs. Change it with ./vitalrix upgrade rather than by hand. |
VITALRIX_IMAGE | downloads.vitalrix.com/vitalrix | Where the image comes from when the server is online. The offline bundle loads it from images/ instead. Point it at your own registry if you mirror the images. |
VITALRIX_DOWNLOADS_URL | https://downloads.vitalrix.com | Where ./vitalrix upgrade <version> fetches a release when the server is online. |
Addresses
| Setting | Default | What it does |
|---|---|---|
VITALRIX_DOMAIN | Set by the installer | The base domain. VitalRix serves monitor., api. and docs. under it. |
HTTP_PORT | 80 | The HTTP port on the server. |
HTTPS_PORT | 443 | The HTTPS port on the server. |
VITALRIX_PUBLIC_PORT | Empty | Set it to the HTTPS port when that is not 443 (for example 8443), so links and emails include it. The installer sets it for you. |
Certificates
| Setting | Value | What it does |
|---|---|---|
VITALRIX_TLS | internal | The default. A private certificate authority issues the certificates; trust it with ./vitalrix ca-cert. |
| An email address | Let's Encrypt certificates. The addresses must be reachable from the internet. | |
/certs/fullchain.pem /certs/privkey.pem | Your own certificate for *.<domain>, placed in the certs folder. |
See certificates for when to use each one.
Optional parts
| Setting | Default | What it does |
|---|---|---|
VITALRIX_DOCS | true | Set to false to stop serving this documentation at docs.<domain>. |
Secrets
The installer generates each of these with openssl. You do not need to change them.
| Setting | What it protects |
|---|---|
POSTGRES_PASSWORD | The database password. |
JWT_ACCESS_SECRET | Signs sign-in sessions. |
INTERNAL_SECRET | Signs requests between VitalRix services. |
INTEGRATION_ENCRYPTION_KEY | Encrypts stored integration credentials and webhook secrets. If you lose it, those must be entered again. |
REVALIDATE_SECRET | Lets the CMS refresh published website pages. |
PREVIEW_SECRET | Signs website preview links. |
METRICS_TOKEN | Protects the internal metrics endpoints. |
ONCALL_LINK_SECRET | Signs links in on-call notifications. |
Email is used for invitations, password resets and email alerts. Use your company's mail server. Without SMTP_HOST, no email is sent.
| Setting | Default | What it does |
|---|---|---|
SMTP_HOST | Empty | Your mail server's host name. |
SMTP_PORT | 587 | Its port. |
SMTP_USER | Empty | The user name, if the server needs one. |
SMTP_PASSWORD | Empty | The password, if the server needs one. |
SMTP_FROM | VitalRix <vitalrix@<domain>> | The sender of every email. |
Sign-in
| Setting | Default | What it does |
|---|---|---|
ALLOW_REGISTRATION | false | Off: people join by invitation, through single sign-on with just-in-time membership, or through SCIM. Set to true to let anyone who can reach the sign-up page create an account. |
GOOGLE_CLIENT_ID | Empty | Turns on Sign in with Google with your own Google OAuth client. Needs internet access. |
GOOGLE_CLIENT_SECRET | Empty | The secret of that client. |
While sign-up is off, Sign in with Google works only for people who already have an account: it cannot create new ones. Use single sign-on with your identity provider if you want new members to be added when they first sign in.
Internet-connected features
Leave these empty in an air-gapped installation.
| Setting | Default | What it does |
|---|---|---|
ANTHROPIC_API_KEY | Empty | An Anthropic API key for the AI incident assistant. |
ANTHROPIC_API_BASE | Empty | The address of a compatible model gateway inside your network, used instead of the public API. |
The AI incident assistant is off while both are empty. Slack, PagerDuty, Opsgenie, Jira, GitHub and the AWS and Google Cloud integrations are set up in the app, not here, and need the server to reach those services.
Checks and logging
| Setting | Default | What it does |
|---|---|---|
CHECK_REGION | local | The name of the region checks from this server report as. |
LOG_LEVEL | info | How much detail VitalRix writes to its own logs. |
- Checks run from this server, so they reach the internal systems it can reach, including private addresses.
- Checking public sites from other regions needs additional checkers. Ask VitalRix if you need them.
Something unclear or missing? Open VitalRix and use the in-app setup guides, or read Troubleshooting.