Nexterm reads its configuration from environment variables at startup. Most variables have sensible defaults, butDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/gnmyt/Nexterm/llms.txt
Use this file to discover all available pages before exploring further.
ENCRYPTION_KEY is required and has no default — the server will refuse to start without it.
Variables
Key used to encrypt stored passwords, SSH private keys, and passphrases at rest. There is no default. The server throws an error and exits if this is not set.You can supply the key directly as an environment variable, or place it in a Docker secret at
/run/secrets/encryption_key.Generate a strong key with:The port the HTTP server listens on. Change this if port 6989 conflicts with another service on your host.
The port the HTTPS server listens on when SSL certificates are present in
data/certs. Has no effect if cert.pem and key.pem are absent.See the SSL guide for certificate setup.TCP port used for communication between the server and engine components. Only relevant in split server/engine deployments. Both the server and the engine configuration must agree on this port.
Runtime mode for the Node.js process.
| Value | Behavior |
|---|---|
production | Serves the compiled web client from the dist/ directory |
development | Returns a 500 error page for all non-API routes; intended for local development with a separate frontend dev server |
System prompt injected into AI feature requests. Customize this to constrain or guide the AI assistant for your environment.If not set, the AI feature uses its built-in default behavior.
Controls how much detail the server writes to its log output. Accepts one of the following values:
| Value | Description |
|---|---|
system | Startup messages, connection events, and critical errors only (default) |
info | General operational messages |
verbose | Detailed request and event tracing |
debug | Full debug output including internal state |
warn | Warnings and errors only |
error | Errors only |
Summary table
| Variable | Required | Default | Description |
|---|---|---|---|
ENCRYPTION_KEY | Yes | — | Credential encryption key |
SERVER_PORT | No | 6989 | HTTP server port |
HTTPS_PORT | No | 5878 | HTTPS server port |
CONTROL_PLANE_PORT | No | 7800 | Engine communication port |
NODE_ENV | No | development | Runtime mode |
AI_SYSTEM_PROMPT | No | — | AI feature system prompt |
LOG_LEVEL | No | system | Log verbosity |
Docker Compose example
The followingdocker-compose.yml snippet shows a typical production configuration with all variables set explicitly: