Skip to content

Environment Variables & Configuration ​

7Server is configured using standard environment variables or a local .env file located in server/.env.


Core Variables ​

VariableDefaultDescription
PORT5001The HTTP port the backend server listens on.
DASHBOARD_PASSWORD(Auto-generated)Initial admin password created on first start.
TRUST_PROXY127.0.0.1,::1Comma-separated list of trusted reverse proxy IPs.
DATA_DIR./dataDirectory where SQLite database (7server.db) and secrets reside.

AI Gateway Configuration ​

VariableDefaultDescription
ANTHROPIC_API_KEY(None)Optional Anthropic API key fallback.
OPENAI_API_KEY(None)Optional OpenAI API key fallback.
GEMINI_API_KEY(None)Optional Google Gemini API key fallback.

Self-hosted, Agentless Multi-Server Management & AI Control Plane.