Skip to main content

Admin Panel

The optional Admin Panel module (ADMIN_PANEL_* keys) — the operator dashboard container. How it is enabled, reached and exposed, its secret, storage, backups and independent updates.

The Admin Panel is the operator dashboard: usage and credit analytics, scheduled reports, database backups, the Agent catalog, IntelliAsk users and roles, user and API-key administration, and IntelliCollab governance, themes and templates. In the stack it is an optional, opt-in module: off by default, and started only when ADMIN_PANEL_ENABLED=true.

Full service reference

This page covers how the panel is wired into the stack (container, port, secret, storage and updates). For the full environment reference, features, roles and security model, see Services → Admin Panel.

Overview

Compose fileconfig/admin-panel.compose.yml
Service nameadmin-panel
Moduleadmin-panel — off by default (ADMIN_PANEL_ENABLED=false)
Image variableADMIN_PANEL_IMAGE (e.g. admin-panel/intelliask-admin-panel:1.0.1)
Host port8090 (ADMIN_PANEL_PORT) → container 8000, on 127.0.0.1 only (ADMIN_PANEL_BIND)
Depends onMongoDB (reads the IntelliAsk and IntelliCollab databases, stores its own in dashboard)
Storage${STORAGE_ROOT}/admin-panel-backups (backup ZIPs, mounted at /backups)

Enabling it

intelliask module enable  admin-panel    # generates ADMIN_PANEL_JWT_SECRET if blank, then starts it
intelliask module disable admin-panel

intelliask provision also offers it (default No). Sign in as admin / admin; you are made to change the password at first sign-in.

By default the panel listens on 127.0.0.1:8090 only. Reach it over an SSH tunnel (ssh -L 8090:127.0.0.1:8090 <host>, then http://localhost:8090), over a VPN, or through the reverse proxy (below). Never publish the raw port to the internet.

Configuration

The panel reads generic variable names (MONGO_URI, JWT_SECRET, DATABASE, LOG_LEVEL) that the IntelliAsk container also uses with different values, so every panel setting lives under an ADMIN_PANEL_ key in config/.env and is mapped in admin-panel.compose.yml. See the full key table. The values you are most likely to change:

config/.env keyDefaultPurpose
ADMIN_PANEL_BASE_URLhttp://localhost:8090Public URL used in report emails and links. Set automatically when proxied.
ADMIN_PANEL_APP_NAMEIntelliAsk AdminName shown in the UI and emails.
ADMIN_PANEL_SMTP_HOST … ADMIN_PANEL_SMTP_TLSemail offSMTP for scheduled reports and alerts.
ADMIN_PANEL_JWT_EXPIRE_HOURS24Sign-in session length.
ADMIN_PANEL_PW_MIN_LENGTH12Minimum password length.
ADMIN_PANEL_MONGO_URIstack MongoDB, root userMust be a single host (the panel uses a direct connection).
ADMIN_PANEL_DATABASE / _DASHBOARD_DB / _INTELLICOLLAB_DBIntelliAsk / dashboard / intellicollabDatabases it reads and writes.
ADMIN_PANEL_MCP_ENABLEDfalseBuilt-in /mcp endpoint. It trusts the X-User-Email header alone, so keep it off unless only a trusted caller can reach it.

After editing any value, apply it with:

intelliask up admin-panel

Secret

ADMIN_PANEL_JWT_SECRET signs sign-in sessions. intelliask secrets and module enable generate it when blank. Changing it only signs everyone out.

Exposing through the proxy

With the reverse proxy enabled, serve the panel either on its own DNS name or under a path of the IntelliAsk site:

intelliask module enable proxy --admin-host admin.example.com   # own DNS name (recommended)
intelliask module enable proxy --admin-path /admin               # https://<PUBLIC_HOST>/admin/

Both keep the raw port on 127.0.0.1 and set ADMIN_PANEL_BASE_URL for you. Under a path the panel shares IntelliAsk's browser origin, so prefer its own DNS name where it is reachable from the internet. See Reverse Proxy → Exposing the Admin Panel.

Resource limits

The defaults are ADMIN_PANEL_CPUS=0.5 and ADMIN_PANEL_MEMORY=512m.

Backups and checks

  • The panel's own data (accounts, schedules, saved queries) is in the dashboard database, so intelliask backup already includes it in the MongoDB dump.
  • Backup ZIPs created from the panel's Backups page are written to ${STORAGE_ROOT}/admin-panel-backups; intelliask backup --with-files archives them with the rest of the storage folder.
  • intelliask doctor checks that ADMIN_PANEL_JWT_SECRET is set while the module is enabled.

Updating the Admin Panel

The panel is versioned and updated independently of the main app:

# 1. In config/.env:
#    ADMIN_PANEL_IMAGE=admin-panel/intelliask-admin-panel:<new-tag>
 
# 2. Pull + recreate only the panel
intelliask update admin-panel

No other service restarts. To roll back, restore the previous ADMIN_PANEL_IMAGE tag.

Last updated on