Skip to content

Configuration

dockmesh uses a minimal configuration approach. Most settings are managed via the web UI under Settings > System. A few bootstrap settings must be set via environment variables before the server starts.

These are set in the systemd service file or Docker environment. They cannot be changed at runtime.

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_AGENT_SANS(empty)Extra SANs for the agent TLS cert

These are configured in Settings > System and stored in the database. Changes take effect immediately without restart.

SettingDescription
Reverse ProxyEnable/disable the embedded Caddy container
Vulnerability ScannerEnable/disable Grype CVE scanning
Base URLPublic URL for OIDC callbacks and agent links
Agent Public URLwss:// URL agents use to connect

Managed under Environment in the sidebar. These are injected into every stack deploy. Stack-level .env values override globals.

Common variables: TZ, PUID, PGID, database credentials, SMTP settings.