DOCS/hub/Configuration
Hub Configuration
The Hub manages the state of your infrastructure and provides the API.
Core Settings:
PORT: HTTP port for the Web UI and API (Default::4000).INTERNAL_LINK_PORT: Port where the embedded internal agent listens (Default::9001).LICENSE: Your Dylaris License Key.HEADLESS: Set totrueto disable the Web UI (API Only mode). Useful for integrations.
Database Configuration:
DB_TYPE: Select the database engine. Options:sqlite(Default) orpostgres.DB_FILE: Path to the SQLite database file (Default:hub.db). Only used ifDB_TYPEissqlite.DB_DSN: Connection string for PostgreSQL. Only used ifDB_TYPEispostgres.- Standard:
host=localhost user=dylaris password=secret dbname=hub port=5432 sslmode=disable - With Nexus/TLS:
host=nexus-ip ... sslmode=require(Userequireif connecting via a TLS tunnel)
- Standard:
Security & Stateless Mode:
JWT_SECRET: A 64-byte hex string used to sign API tokens. Critical for stateless setups (Docker/K8s). If not set, a random key is generated on startup (logging out users on restart).
Redis Configuration (Optional): Required for High Availability (HA) or managing multiple Gates.
REDIS_ADDR: Address of the Redis server (e.g.,127.0.0.1:6379).REDIS_USER: Redis ACL Username (Optional).REDIS_PASS: Redis Password (Optional).REDIS_DB: Redis Database Index (Default:0).REDIS_USE_TLS: Set totrueto enable TLS (Required if connecting via Nexus).
ID: 11LAST UPDATED: 3/1/2026