Configuration reference
Every setting of a self-hosted server: where it lives, its default and what it does.
A self-hosted server reads its settings from one file, .env, in the install folder (~/vixi unless you chose another). The installer writes it once with unique secrets and never changes it again. This page lists every setting you can change, its default and what it does.
Change a setting
- Open
.envin the install folder. Only your user can read it, and it should stay that way. - Change or add the line, for example
OPENAI_MODEL=your-model. - Apply it:
cd ~/vixi && ./vixi-ctl.sh upDocker Compose recreates only the services whose settings changed. Run ./vixi-ctl.sh doctor afterwards to check that everything is healthy. The kit's .env.example lists the same settings with short comments. Don't copy it over your .env: it has no secrets.
Install and images
| Setting | Default | What it does |
|---|---|---|
COMPOSE_PROJECT_NAME | vixi | Name of this install in Docker. Its volumes and networks start with it. |
COMPOSE_FILE | docker-compose.yml | The Compose files to combine, separated by :. With a domain, the installer adds docker-compose.tls.yml. With --gvisor, it adds docker-compose.gvisor.yml. |
COMPOSE_PROFILES | files,browser | Optional parts: files (document and media tools), browser (browser and coding tool volumes) and ollama (a local model server). Empty means core services only. |
VIXI_VERSION | v0.2.1 | Release tag of every Vixi image. Change it with ./vixi-ctl.sh upgrade <version>, not by hand. |
VIXI_REGISTRY | ghcr.io/aradhajari | Where the images come from. Change it only if you build and host your own images. |
VIXI_USER_IMAGE_RE | Generated | The only image a workspace may run. The Docker policy proxy refuses any other. |
HERMES_BROWSER_VOLUME, HERMES_DEVTOOLS_VOLUME | Set with the browser profile | Names of the read-only browser and coding tool volumes. They include the version, and upgrade renames them. |
Address and network
| Setting | Default | What it does |
|---|---|---|
PUBLIC_URL | http://localhost:8080 | The address people and apps use. Links in emails and OAuth callbacks are built from it. |
VIXI_DOMAIN | Empty | The domain, when you use one. |
VIXI_SITE_ADDRESS | :80 | What Caddy serves. :80 means plain HTTP, for this computer only or behind your own HTTPS proxy. A domain name turns on automatic HTTPS. |
VIXI_HTTP_PORT | 8080 | Local port when there is no domain. It listens on 127.0.0.1 only. |
VIXI_TRUSTED_PROXIES | 127.0.0.1/32 | Proxies in front of Caddy whose forwarded visitor address Vixi trusts, as addresses or ranges. Rate limits and sign-in records use that address. |
SANDBOX_BLOCK | Empty | Extra IPv4 ranges that workspaces can't reach, separated by commas. Add your server's public address here, for example 203.0.113.10/32. |
DOCKER0_ADDRESS | 172.17.0.1 | gVisor layout only: the address of Docker's default bridge, where the gateway's ports are published. |
DOCKER_SOCKET_PATH | /var/run/docker.sock | The Docker socket that only the Docker policy proxy mounts. |
See Domain and HTTPS for how to set up a domain or your own proxy.
Model providers
| Setting | Default | What it does |
|---|---|---|
OPENAI_API_KEY, OPENAI_MODEL | Empty | An OpenAI key, and an optional chat model to use instead of the default. |
ANTHROPIC_API_KEY, ANTHROPIC_MODEL | Empty | An Anthropic key and optional chat model. |
GEMINI_API_KEY, GEMINI_MODEL | Empty | A Google Gemini key and optional chat model. |
OPENROUTER_API_KEY, OPENROUTER_MODEL | Empty | An OpenRouter key and optional chat model. |
OLLAMA_BASE_URL, OLLAMA_MODEL | Empty | An Ollama server and the model to use. Ollama needs both. With the ollama profile, the URL is http://ollama:11434. |
You only need one provider. A key the owner saves in the app is used instead of the one here. Models explains which provider answers, the default model of each and what embeddings and images need.
| Setting | Default | What it does |
|---|---|---|
RESEND_API_KEY | Empty | A Resend key. With it, Vixi can email sign-in codes, invitations and password resets. |
EMAIL_FROM | Empty | The sender address for those emails. |
Without email, people sign in with their password. In invite-only mode, invited people must prove they own their address only when email is set up.
OAuth apps
Each connected app that uses OAuth needs a client ID and secret from an OAuth app you create with that provider. Set its redirect address to <PUBLIC_URL>/v1/oauth/callback/<provider>. Google sign-in also uses <PUBLIC_URL>/v1/auth/oauth/google/callback.
| Setting | Default | What it does |
|---|---|---|
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET | Empty | Google: Gmail, Calendar, Drive and more, plus Google sign-in |
MICROSOFT_CLIENT_ID, MICROSOFT_CLIENT_SECRET | Empty | Microsoft 365 |
GITHUB_CLIENT_ID, GITHUB_CLIENT_SECRET | Empty | GitHub |
SLACK_CLIENT_ID, SLACK_CLIENT_SECRET | Empty | Slack |
NOTION_CLIENT_ID, NOTION_CLIENT_SECRET | Empty | Notion |
LINEAR_CLIENT_ID, LINEAR_CLIENT_SECRET | Empty | Linear |
SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET | Empty | Spotify |
DROPBOX_CLIENT_ID, DROPBOX_CLIENT_SECRET | Empty | Dropbox |
Control also reads <NAME>_CLIENT_ID and <NAME>_CLIENT_SECRET for these providers. They aren't in the Compose file, so pass them with an override file (next section):
DISCORD, TODOIST, ZOOM, ATLASSIAN, GITLAB, FIGMA, STRAVA, REDDIT, BOX, ASANA, X, AIRTABLE, CALENDLY, HUBSPOT, OURA, MIRO, CANVA, SALESFORCE, QUICKBOOKS, XERO, PIPEDRIVE, MAILCHIMP, INTERCOM, MONDAY, CLICKUP, DOCUSIGN, TYPEFORM, SHOPIFY
Without a client ID, that app can't be connected on your server. Connections that use a token, a QR code or a paired device don't need any of this. See Connected apps.
Override files
To pass a setting that isn't in docker-compose.yml, or to change a service, create compose.override.yml in the install folder:
services:
control:
environment:
GITLAB_CLIENT_ID: your-client-id
GITLAB_CLIENT_SECRET: your-client-secretBecause .env sets COMPOSE_FILE, Docker Compose doesn't pick the file up on its own. Add it at the end of the list, then run ./vixi-ctl.sh up:
COMPOSE_FILE=docker-compose.yml:compose.override.ymlWith a domain, keep the TLS file in the list: docker-compose.yml:docker-compose.tls.yml:compose.override.yml. Upgrades don't touch your override file.
Workspace limits
| Setting | Default | What it does |
|---|---|---|
INSTANCE_MEMORY_BYTES | 1.5 GiB | Most memory one workspace may use. |
INSTANCE_MEMORY_RESERVE_BYTES | 768 MiB | Memory set aside for each awake workspace when Vixi decides whether another one fits. |
INSTANCE_NANO_CPUS | 2 CPUs | CPU limit of one workspace, in billionths of a CPU (2000000000). |
WORKER_MEMORY_HEADROOM_BYTES | 2 GiB | Memory always kept free for the system and Vixi's own services. |
MAX_AWAKE_INSTANCES | 10 | How many workspaces can be awake at once before others wait in line. |
Values are plain numbers of bytes in .env. Raise the limits if people run large builds or many browser tabs. Lower MAX_AWAKE_INSTANCES on a small server.
Advanced control settings
Control reads these too. They keep safe defaults, so most servers never set them. Pass them to control with an override file.
| Setting | Default | What it does |
|---|---|---|
LOG_LEVEL | info | How much control logs. debug shows more. |
RATE_LIMIT_AUTH_MAX, RATE_LIMIT_WINDOW | 20 per minute | Sign-in requests allowed from one address. |
LOGIN_FAIL_MAX, LOGIN_FAIL_WINDOW_SEC | 10 in 900 s | Failed password attempts for one account before password sign-in pauses. Emailed codes still work. |
MAX_CONCURRENT_WAKING | 3 | Workspaces started from the waiting line at the same time. |
BLOB_MAX_BYTES | 20 MiB | Largest single upload that control stores. |
Generated secrets
The installer generates these. Don't change them on a running server: tokens, saved secrets and the database would stop working.
| Setting | Used for |
|---|---|
POSTGRES_DB, POSTGRES_PASSWORD | The database. Its name also makes this install's ID unique. |
VIXI_ENV_ID | Labels this install's workspaces and volumes, so two installs on one Docker host never touch each other's. |
REDIS_PASSWORD | Redis |
SETUP_TOKEN | Creating the owner account. See setup. |
JWT_SECRET | Server-side signing |
JWT_PRIVATE_KEY, JWT_PUBLIC_KEYS | An Ed25519 pair. Control signs access tokens with the private half; the edge only gets the public half. |
VAULT_MASTER_KEY | Encrypts the vault and saved model keys |
EDGE_SHARED_SECRET | Calls between the edge and control |
FILES_TOKEN_SECRET | Access to the file service |
DOCKER_PROXY_TOKEN | Control's access to the Docker policy proxy |
LITELLM_MASTER_KEY, LITELLM_SALT_KEY | The model proxy and the encryption of the model settings it stores |
Compose also fixes some settings that you shouldn't change, such as SELF_HOSTED=true, PAYMENTS_PROCESSOR=none and PUSH_PROVIDER=off. So payments and phone push notifications are off on a self-hosted server.





