Configuration
Ideon uses environment variables for configuration. The primary file is .env, which can be generated by the installer.
Environment Variables
Core
APP_PORT: Port for HTTP and WebSocket traffic.APP_URL: Public base URL for links and OAuth callbacks.TIMEZONE: Label for server logs.PORT: OverridesAPP_PORTfor the port the server listens on.HOSTNAME: Network interface the server binds to. Defaults to0.0.0.0.NEXT_PUBLIC_LOG_LEVEL: Client-side log level (debug,info,warnorerror). Defaults toerror. This value is bundled into the client at build time.
Database
SQLITE_PATH: Path to the SQLite file whenDB_HOSTis not set.DB_HOST: Postgres host.DB_PORT: Postgres port.DB_NAME: Postgres database name.DB_USER: Postgres username.DB_PASS: Postgres password.DB_SSL: Set totrueto enable TLS.
Security
SECRET_KEY: Master key used to derive internal secrets.AUTH_SECRET: Not required. Ideon derives it fromSECRET_KEY, which must always be set.AUTH_URL: Override for Auth.js base URL. Defaults toAPP_URL.LOG_LEVEL: Pino logger level.DEV_ALLOWED_ORIGINS: Comma separated origins to allow for CORS in development.GIT_ALLOWED_HOSTS: Comma-separated list of hostnames/IPs to bypass SSRF protection.- Purpose: Allows fetching stats and synchronizing repositories with internal/private Git servers (e.g., self-hosted GitLab) that would otherwise be blocked by security filters.
- Example:
gitlab.corp.local,10.0.1.5
SHELL_MAX_SESSIONS: Maximum number of concurrent shell sessions per project.- Default:
2. - Disable: Set to
0to prevent any usage of the Shell Block.
- Default:
Single Sign-On (OIDC)
OIDC_ISSUER: Issuer URL of your OpenID Connect identity provider.OIDC_CLIENT_ID: Client ID registered with the identity provider.OIDC_CLIENT_SECRET: Client secret registered with the identity provider.
When all three variables are set, OIDC is enabled from the environment and takes precedence over the values stored in the Admin Panel, whose OIDC card becomes read-only. Restart Ideon after changing them.
Real-time
YJS_WS_MAX_PAYLOAD_BYTES: Maximum size of a WebSocket message. Defaults to 64 MiB.NEXT_PUBLIC_YJS_WS_CHUNK_PAYLOAD_BYTES: Size of each chunk when a large message is split. Defaults to 524288 (512 KiB).NEXT_PUBLIC_YJS_WS_CHUNK_THRESHOLD_BYTES: Message size above which the client splits a message into chunks. Defaults to 2097152 (2 MiB).NEXT_PUBLIC_YJS_WS_CHUNK_TTL_MS: How long the receiver waits for the remaining chunks of a message. Defaults to 15000.
The NEXT_PUBLIC_ variables are bundled into the client at build time.
Docker
PUIDandPGID: User and group IDs the container runs as. Both default to1001. Set them to the owner of the mountedstoragedirectory if you use a bind mount.ENV_FILE: Path of the environment file read bydocker-compose.yml. Defaults to.env.
Diagrams
PLANTUML_SERVER_URL: Base URL of the PlantUML server used to render PlantUML blocks.- Behavior: When unset, PlantUML blocks keep their source editable and show a message that rendering is not configured.
- Example:
http://plantuml:8080 - Docker: The PlantUML server must be reachable from the Ideon container, for example by sharing its network.
SMTP
SMTP_FROM_EMAIL: Sender address.SMTP_FROM_NAME: Sender display name.SMTP_HOST: SMTP host.SMTP_PORT: SMTP port.SMTP_USER: SMTP username.SMTP_PASSWORD: SMTP password.SMTP_USE_TLS:trueorfalsefor STARTTLS.
Database Mode
- Docker uses PostgreSQL by default.
- SQLite is used only when
DB_HOSTis not set.
Dynamic Configuration
Some settings are managed directly within the application (Admin Panel) and stored in the database:
- OAuth Providers: Client IDs and Secrets for Google, Discord, Slack, etc.
- OIDC: Identity Provider (IdP) configuration.
- Registration: Toggle public registration or invite-only mode.