Skip to content

Configuration

dockmesh is configured primarily through the web UI — the one-line installer drops sensible defaults, the first-boot Setup Wizard collects the few things that need a human answer, and from then on everything lives in pages you can click. There is no required hand-edited config file.

Stored in the SQLite settings table. Changes take effect immediately without restarting the server.

PageWhat you configure
Settings → InstanceDisplay name, base URL, agent public URL, default-system-backup toggle
Settings → UpdatesUpdate channel (stable / testing), self-update behaviour
Settings → ConfigurationReverse proxy on/off, vulnerability scanner on/off, metrics auth, secrets-encryption flag
Settings → Encryption keyExport / import the age key that protects stack .env files at rest
Authentication → Password policyMin length, complexity, rotation, lockout
Authentication → SessionsIdle timeout, absolute lifetime, remember-me window, max concurrent sessions per user
Authentication → Sign-in flowAllow local password, require 2FA for admin, auto-create accounts on SSO, allow self-registration
Authentication → SSO providersOIDC, OAuth2, SAML, LDAP — one or many, with optional group → role mapping
Users → RolesCustom roles + permission selection (RBAC v2 with per-host / per-stack scope)
Alerts → ChannelsEmail, Slack/Discord/Generic webhook, ntfy, Telegram
Alerts → RulesThresholds, container/host scope, severity, channel routing
BackupsTargets (local / S3 / SFTP / WebDAV / SMB), jobs (schedule, retention, encryption)
EnvironmentGlobal env vars injected into every stack deploy. Stack-level .env values override globals.

A small set of values must be set before the server can read its own settings table. The installer writes these into /var/lib/dockmesh/dockmesh.env; you rarely edit them by hand.

VariableDefaultDescription
DOCKMESH_HTTP_ADDR:8080HTTP listen address
DOCKMESH_DB_PATH./data/dockmesh.dbSQLite database file path
DOCKMESH_STACKS_ROOT./stacksRoot directory for compose files
DOCKMESH_AGENT_LISTEN:8443mTLS listen address for agents
DOCKMESH_BASE_URLhttp://localhost:8080Public URL — used as initial default for OIDC callbacks and agent links until you set it in the UI
DOCKMESH_AGENT_SANS(empty)Extra SANs for the agent TLS cert

See the full environment variables reference for log/tracing/path overrides and the agent-side variables.

Set under Environment in the sidebar. These are merged into every stack’s environment at deploy time. When a stack’s own .env defines the same key, the stack value wins.

Typical entries: TZ, PUID, PGID, shared database credentials, SMTP credentials, common API tokens. Mark a value as Secret to encrypt it at rest and hide it in the UI by default.