Configuration

OpenVibely is configured primarily with environment variables. start.sh loads .env when present, then starts the server.

Runtime Variables

VariableDefaultPurpose
PORT3001 in server mode, 0 in desktop modeHTTP port; desktop uses ephemeral by default
DATABASE_PATH./openvibely.db or app-data path in desktopSQLite database path
DATABASE_URLemptyLoaded but not used by server startup
ENVIRONMENTdevelopmentRuntime label
PROJECT_REPO_ROOT./repos or app-data repos pathManaged clone root
OPENVIBELY_APP_DATA_DIRmode-specificOverrides app-data root and changes DB/repo defaults
OPENVIBELY_ENABLE_LOCAL_REPO_PATHfalse in server, true in desktopEnables local path project source mode

Auth Variables

VariablePurpose
AUTH_ENABLEDExplicit built-in login toggle
AUTH_USERNAMELogin username
AUTH_PASSWORDLogin password
AUTH_SESSION_SECRETHMAC secret for ov_session cookie
AUTH_SESSION_TTLSession lifetime, default 24h

If AUTH_ENABLED is unset, auth is inferred enabled when both username and password are present. If auth is enabled, username, password, and session secret are required.

Integration Variables

Deployment Variables