Self-hosting no longer needs Node.js or npm on the host: only Git and Docker. Docker Compose now creates the Convex admin key, deploys Ignidash's server functions, and runs data migrations in one-time setup containers before the app starts. Thanks to @Robert-litts for starting this in #71.
Upgrading (self-hosted)
-
Back up first. Use the same command as in v0.3.0, with the admin key from
CONVEX_SELF_HOSTED_ADMIN_KEYin your.env.local:npx convex export --url http://127.0.0.1:3210 --admin-key '<key>' --path backup.zip
-
Update and restart:
git pull docker compose pull docker compose up -d
Keep your
.env.local, the.envlink, and the Docker volumes. On first start, Ignidash creates a new admin key from your existing Convex data. Users, sessions, and plans are kept. -
Clean up
.env.local. Delete theCONVEX_SELF_HOSTED_URLandCONVEX_SELF_HOSTED_ADMIN_KEYlines; the old key still gives full access to your data. Then runchmod 600 .env.local, because older releases left the file readable by every user on the host. Runningsh scripts/selfhost.shdoes thechmodand warns about a leftover key.
After upgrading, Node.js is no longer needed. Future backups use the Docker-only commands in SELF_HOSTING.md → Backup and Restore.
To check that the upgrade worked, run docker compose ps -a. convex-admin-key and convex-init should show Exited (0), and app should show Up. If the app does not start, docker compose logs convex-init says why.
Changes
Self-hosting
- Docker-only setup and upgrades:
sh scripts/selfhost.sh --initsets up a new install, andgit pull && docker compose pull && docker compose up -dupgrades one. A newghcr.io/schelskedevco/ignidash-convex-initimage is published alongside the app image with the same tags, so the server functions that get deployed always match the app version. - Safer by default: the app container receives no secrets and no admin key. The admin key lives in its own Docker volume, readable only by the setup containers.
.env.localis created readable only by you. - Pinned Convex versions: the Convex backend and dashboard images are pinned to a tested build instead of
latest. They change only when a release moves the pin. - Rewritten guide: SELF_HOSTING.md now covers:
- quick start and everyday use
- access from other devices, behind an HTTPS reverse proxy (including private certificate authorities), and on different ports
- Docker-only backup and restore
- troubleshooting by symptom
- Fixes:
- Server-side PostHog settings now reach the app.
selfhost.sh --initrejects host names that would corrupt.env.local.
Testing
- Every scenario in the self-hosting guide now runs in CI with real containers and a browser: quick start, LAN access, changed ports, HTTPS proxy, backup and restore, key recovery, and upgrading from the previous release.
Other
- Development and CI move to Node 24 (Node 22 or newer is required for development).
- The income ID migration keeps existing IDs instead of overwriting them.