Skip to main content

Configuration Settings

Genie Nexus can be configured through environment variables and the management interface. This guide covers all available configuration options.

Environment Variables

Core Settings

VariableDefaultDescription
PORT3000Port for the router server
LOG_LEVELinfoLogging level (debug, info, warn, error)
DEBUGfalseEnable debug mode

Database Configuration

VariableDefaultDescription
DBsqlite://db.sqliteDatabase connection string

Database Connection Strings

SQLite:

DB=sqlite:///path/to/database.sqlite

MySQL:

DB=mysql://username:password@host:port/database

Authentication Settings

VariableDefaultDescription
AUTH_METHODcredentialsAuthentication method

Authentication Methods

  • none: No authentication required, your Genie Nexus instance will be accessible to the public
  • credentials: Require a username and password to access the management interface

Runtime Configuration

Management Interface

Access the management interface to configure:

  1. Providers: Add and configure AI providers
  2. Deployments: Create and manage routing deployments
  3. API Keys: Generate and manage authentication keys
  4. Settings: Update server configuration