Skip to content

Administration

Panel configuration

Environment variables and settings of the panel itself.

๐Ÿ—‚๏ธ Where configuration lives

The panel has two kinds of configuration:

  • Environment variables in the API's .env file (apps/api/.env in the panel directory) โ€” secrets and server-level options. After changing them, restart the panel service: sudo systemctl restart orchestrator-api.
  • Settings in the panel itself (Settings, admin) โ€” integrations, notifications and preferences, stored in the panel database. Secrets entered there are encrypted.

๐Ÿงช Environment variables

Core

Variable Default Notes
DATABASE_URL file:./dev.db The panel's own SQLite database.
JWT_SECRET โ€” Required. Signs login sessions. A long random string (32+ characters). Changing it logs everyone out.
ENCRYPTION_KEY JWT_SECRET Encrypts secrets at rest. Set a dedicated value once, up front โ€” see the warning below.
JWT_EXPIRES_IN 24h Session lifetime.
PORT 3001 The API port. It always listens on 127.0.0.1 only.
CORS_ORIGIN http://localhost:3000 The panel's own address, for example https://panel.example.com.
SCRIPTS_DIR ../../scripts Where the panel's server scripts are.

Generate a secret with:

Terminal
node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"

Warning. Do not change ENCRYPTION_KEY once the panel has stored secrets (Git tokens, SSH keys, passwords). Existing values could no longer be decrypted.

Limits and timing

Variable Default Notes
RATE_LIMIT_MAX 600 Requests per minute per client IP, across the API.
DEPLOY_TIMEOUT_MS 1500000 (25 min) A deploy running longer is stopped and marked failed.
LOG_COLLECTOR_INTERVAL_MS 60000 How often Laravel logs are read for error intelligence.
ALERTS_INTERVAL_MS 120000 How often panel host alert rules are checked.

Email

Variable Default Notes
SMTP_HOST โ€” Email is off until this is set.
SMTP_PORT 587
SMTP_SECURE false true for implicit TLS (port 465).
SMTP_USER, SMTP_PASS โ€”
SMTP_FROM Orchestrator <noreply@โ€ฆ> Sender address.

The recipient is the Notify email in Settings โ†’ Notifications.

phpMyAdmin single sign-on

Variable Notes
PMA_BASE_URL The address of phpMyAdmin on the panel host.
PMA_BRIDGE_SECRET A shared secret between the panel and phpMyAdmin's sign-on script.

Advanced

Variable Default Notes
ORCH_SSH_DIR ~/.orchestrator-ssh Where the pinned SSH host keys are stored.
PANEL_SERVICE orchestrator-api The systemd service name used by the panel updater.

โš™๏ธ Settings in the panel

Tab Contents
General Interface language, Panel title, Panel URL (public base URL, no trailing slash).
Notifications Weekly digest; email, Slack, Discord, Telegram and webhook channels.
Integrations Telegram bot, AI assistant, Cloudflare DNS, S3 / R2 storage, MySQL root credentials, DigitalOcean.
Security Change password, two-factor authentication, personal access tokens.
Presets Reusable deploy settings for sites.

๐Ÿ—‚๏ธ Files and services on the panel host

What Where
Panel service orchestrator-api (systemd), runs as a dedicated service user
Sites /var/www/sites/<domain>
nginx vhosts /etc/nginx/sites-available/<domain>
Panel-managed nginx snippets /etc/nginx/orchestrator-billing/, /etc/nginx/orchestrator-security/, /etc/nginx/orchestrator-traffic/
Panel logs journalctl -u orchestrator-api
Backup logs /var/log/orchestrator/
Scripts on remote servers /opt/orchestrator-scripts (copied by the panel)