Skip to content

Self-hosted installation

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.

Run these commands in a Linux terminal for a new installation:

Terminal window
mkdir insight-board
cd insight-board
curl --fail --location --output docker-compose.yml \
https://raw.githubusercontent.com/CuAuPro/insight-board-releases/main/docker-compose.yml
curl --fail --location --output .env.example \
https://raw.githubusercontent.com/CuAuPro/insight-board-releases/main/.env.example
cp -n .env.example .env
chmod 600 .env

Direct 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.

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:

Terminal window
openssl rand -hex 32

Keep 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.

From the directory containing docker-compose.yml and your configured .env:

Terminal window
docker compose config --quiet
docker compose pull
docker compose up -d
docker compose ps
docker compose logs --tail=100 api

The stack contains PostgreSQL, Redis, API, and web. The API waits for dependencies and applies migrations. A migration failure stops startup.

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.