Configuration reference
Self-hosting
An installation is configured in two places:
.env, next tocompose.yml: only what the server needs before it can read its database, or what describes the machine (database, encryption key, address, first administrator, ports, licence file, certificates for networks that inspect TLS). You change it on the server and rundocker compose up -dagain.- The web app, in Settings (administrators): everything else, stored in the database and applied without a restart. See Settings in the app below.
./scripts/setup.sh creates .env from .env.example and fills in the three secrets. Never
publish .env, and do not paste the output of docker compose config anywhere: it contains the
secrets. docker compose config --quiet checks the syntax without printing them.
Installation and images
| Variable | Default | Meaning |
|---|---|---|
COMPOSE_PROJECT_NAME |
venolio |
The installation’s name. Compose prefixes the data volumes and network with it. Choose it before the first start and keep it: a different name attaches different, empty volumes. Two installations on one machine need different names (and different ports). |
VENOLIO_APP_IMAGE |
This release’s app image | The Venolio server image. The release fills it in; change it only to run another release. |
VENOLIO_PROXY_IMAGE |
This release’s proxy image | The proxy image with the web app. |
VENOLIO_POSTGRES_IMAGE |
postgres:19-bookworm |
The PostgreSQL image. Do not move to another PostgreSQL major version without a backup and restore (see Upgrades). |
Database
| Variable | Default | Meaning |
|---|---|---|
POSTGRES_DB |
teamspace |
The database name. Letters, digits and underscores only. Set it before the first start. |
POSTGRES_USER |
teamspace |
The database user. Same rules. |
POSTGRES_PASSWORD |
Generated | The database password. The generated one is hexadecimal; if you set your own, use only letters and digits. |
DB_MAX_CONNECTIONS |
10 |
How many database connections the app keeps, from 2 to 32. PostgreSQL itself allows 30, which leaves room for backups and maintenance. |
Secrets and the first administrator
| Variable | Default | Meaning |
|---|---|---|
APP_ENCRYPTION_KEY |
Generated | Exactly 32 random bytes, base64-encoded. Encrypts every secret stored in the database: saved mail and calendar passwords, integration tokens, client secrets entered in Settings, the system e-mail password and product vault entries. It also determines the server’s installation code for the licence. Keep it with your backups and never change it: with another key, those secrets cannot be read. |
ADMIN_EMAIL |
admin@venolio.local |
The first administrator’s e-mail address. Set your own before the first start. |
ADMIN_NAME |
Administrator |
The first administrator’s name. |
ADMIN_PASSWORD |
Generated | The first administrator’s password. |
The first administrator is created only on the first start, while there is no active administrator. Changing these three later changes nothing; manage accounts in the app.
Address and access
| Variable | Default | Meaning |
|---|---|---|
PUBLIC_URL |
http://localhost:8080 |
The address people open, without a trailing slash, for example https://venolio.example.com. Venolio builds invite links, sign-in redirect addresses and the AI app (MCP) address from it. |
SECURE_COOKIES |
false |
true marks the sign-in cookie for HTTPS only. Set it to true whenever PUBLIC_URL starts with https://. |
VENOLIO_PRIVATE_MODE |
false |
true turns off creating accounts (administrators, invites and SCIM included), public pages, public forms and booking links. Keep false until every account exists; an empty server in private mode refuses to create its first administrator. Existing accounts and shares stay. |
Proxy and ports
| Variable | Default | Meaning |
|---|---|---|
SITE_ADDRESS |
:80 |
What the built-in Caddy proxy serves. :80 serves plain HTTP for your own TLS proxy in front. A host name, for example venolio.example.com, makes Caddy obtain and renew an HTTPS certificate for it (see Domain and HTTPS). |
HTTP_BIND |
127.0.0.1 |
The host address the HTTP port is published on. 127.0.0.1 keeps it local to the machine; 0.0.0.0 opens it to the network. |
HTTP_PORT |
8080 |
The host port for HTTP (the proxy’s port 80). |
HTTPS_BIND |
127.0.0.1 |
The host address the HTTPS port is published on. |
HTTPS_PORT |
8443 |
The host port for HTTPS (the proxy’s port 443). |
Only the proxy publishes ports. The database and the app are reachable only inside the installation’s own Docker network.
Licence
| Variable | Default | Meaning |
|---|---|---|
VENOLIO_LICENCE_PATH |
./venolio.licence |
The licence file on the host, mounted read-only into the app. Save the server licence from your account in it, or paste the key in Settings → Server licence instead. Venolio reads it on every check, so no restart is needed. |
If the file did not exist when the installation started, Docker creates a folder with that name;
the licence settings say so. Delete the folder, save the licence as a file and run
docker compose up -d again. ./scripts/setup.sh creates the file empty to avoid this.
Start-up and logging
| Variable | Default | Meaning |
|---|---|---|
SEED_DEMO |
false |
true fills a new, empty server with demo content on its first start. Leave it false for a real installation. |
RUST_LOG |
venolio=info,tower_http=info |
How much the app writes to its log. venolio=debug writes more when you are tracking down a problem. |
Networks that inspect TLS
On a network whose firewall replaces HTTPS certificates with its own, the app trusts that firewall’s certificate authority only where you add it. Each variable is the path of a PEM file inside the app container:
| Variable | Trusted for |
|---|---|
GITHUB_CA_BUNDLE |
GitHub, GitHub Enterprise Server, GitLab, Gitea and Forgejo. |
OBSERVABILITY_CA_BUNDLE |
Metrics sources. |
PRODUCT_API_CA_BUNDLE |
Product API checks. |
VENOLIO_ADDON_CA_BUNDLE |
Add-on network requests and add-on catalogue downloads. |
Mount the file into the app container with a compose.override.yml next to compose.yml, for
example:
services:
app:
volumes:
- ./corporate-ca.pem:/etc/venolio/corporate-ca.pem:ro
and set GITHUB_CA_BUNDLE=/etc/venolio/corporate-ca.pem (and the others you need) in .env.
Leave them empty on a normal network: the image’s own certificates are used.
NO_PROXY (and no_proxy) lists hosts that bypass your network’s HTTP proxy. Compose always adds
the installation’s own containers (app, db, proxy), so traffic between them never goes
through the proxy.
What compose.yml sets
These are fixed in compose.yml; you normally leave them alone:
- the app listens on port 3000 inside the installation and keeps uploaded files in its
uploadsvolume; - the database connection is built from
POSTGRES_USER,POSTGRES_PASSWORDandPOSTGRES_DB; - PostgreSQL runs with settings tuned for the memory limit (512 MB shared buffers, at most 30 connections);
- the app runs as an unprivileged user with a read-only file system;
- container logs rotate at 10 MB, three files kept;
- the four volumes
postgres_data,uploads,caddy_dataandcaddy_config, prefixed with the project name.
Settings in the app
Administrators set the rest in the web app, in Settings. Nothing there needs a change to
.env or a restart, except where a setting says so.
| Section | What it holds |
|---|---|
| Sign-in | Single sign-on, sign-in with Google, Microsoft and GitHub, SCIM (Sign-in and single sign-on) |
| System e-mail | The SMTP relay (E-mail (SMTP)) |
| Integrations | The OAuth apps for calendars, mail, Google Drive, Slack and GitHub; reading text in scanned documents; Notion imports at the same time (Connect other tools) |
| AI | The Venolio AI service token, or your own provider on Enterprise (AI) |
| Files and storage | Largest file, free space to keep, largest archive (Files and drives) |
| Outbound connections | Private networks and allowed endpoints (Outbound connections) |
| Server licence | The licence (Licence) |
| Data retention | How long logs and finished jobs are kept (Data retention) |
| Security | Sessions, passwords, invitations, AI app sign-in (Security) |
Secret settings entered there are encrypted with APP_ENCRYPTION_KEY.
Older releases read many of these settings from environment variables. See Upgrades for what happens to them.
About this part of Venolio: Your server, your data, your rules
Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.