Self-hosted installation
Prepare the host
Section titled “Prepare the host”Use a Linux server with Docker Engine, the Docker Compose plugin, curl, and OpenSSL. Point your hostname to the server and allow inbound TCP ports 80 and 443 for the bundled HTTPS proxy. Use persistent storage for the Docker volumes.
Download the deployment files
Section titled “Download the deployment files”Run these commands in a Linux terminal for a new installation:
mkdir insight-boardcd insight-boardcurl --fail --location --output docker-compose.yml \ https://raw.githubusercontent.com/CuAuPro/insight-board-releases/main/docker-compose.ymlcurl --fail --location --output .env.example \ https://raw.githubusercontent.com/CuAuPro/insight-board-releases/main/.env.examplecp -n .env.example .envchmod 600 .envDirect downloads: docker-compose.yml · .env.example. These are the files from the public deployment repository; the private application source, Git, Node.js, and pnpm are not needed on the server. The Compose stack pulls the published API and web images from GHCR. Caddy is included in the web image; no separate Caddyfile is needed.
The copy command preserves an existing .env. Keep this file private and outside source control. Do not replace an existing installation’s .env with the example during upgrades.
Configure .env
Section titled “Configure .env”Open .env in a text editor and replace the example values before starting:
| Setting | Value |
|---|---|
APP_BASE_DOMAIN |
Your hostname, for example boards.company.com, without a scheme, port, or path. |
PUBLIC_API_ORIGIN |
Your public HTTPS origin, for example https://boards.company.com. |
PUBLIC_ADMIN_ORIGIN |
The same origin for the default self-hosted installation. |
CORS_ALLOWED_ORIGINS |
The same origin for the default self-hosted installation. |
ACME_EMAIL |
Your monitored email address for HTTPS certificate registration. |
POSTGRES_PASSWORD |
A new strong database password; replace postgres. |
JWT_SECRET |
A long random secret for application authentication. |
SOURCE_ENCRYPTION_KEY |
A different long random secret for saved source credentials. |
DEVICE_TOKEN_PEPPER |
Another different long random secret for paired devices. |
Generate each password or secret independently, running this command again for every value:
openssl rand -hex 32Keep SOURCE_ENCRYPTION_KEY and DEVICE_TOKEN_PEPPER stable across restarts and upgrades. The default self-hosted setup uses one hostname, not separate portal.* and tenant subdomains. For IP-only access or your own reverse proxy, see environment settings.
Start Insight Board
Section titled “Start Insight Board”From the directory containing docker-compose.yml and your configured .env:
docker compose config --quietdocker compose pulldocker compose up -ddocker compose psdocker compose logs --tail=100 apiThe stack contains PostgreSQL, Redis, API, and web. The API waits for dependencies and applies migrations. A migration failure stops startup.
First access and upgrades
Section titled “First access and upgrades”Open https://boards.company.com/setup with your hostname. Create the first administrator and choose an allowed workspace mode. The database stores the selected modes. The portal uses the root URL, player /player, and multi-workspace portals /w/{workspaceSlug}.
Check /api/health, build content, and pair one screen before wider rollout. Before upgrades, take a matched backup. Pull the chosen image version and recreate services with the same Compose configuration. Check migrations, health, login, and playback. Database migrations can prevent safe application-only rollback. The public stack is self-hosted; CELEON operates SaaS.