github schelskedevco/ignidash v0.4.0

37 minutes ago

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)

  1. Back up first. Use the same command as in v0.3.0, with the admin key from CONVEX_SELF_HOSTED_ADMIN_KEY in your .env.local:

    npx convex export --url http://127.0.0.1:3210 --admin-key '<key>' --path backup.zip
  2. Update and restart:

    git pull
    docker compose pull
    docker compose up -d

    Keep your .env.local, the .env link, and the Docker volumes. On first start, Ignidash creates a new admin key from your existing Convex data. Users, sessions, and plans are kept.

  3. Clean up .env.local. Delete the CONVEX_SELF_HOSTED_URL and CONVEX_SELF_HOSTED_ADMIN_KEY lines; the old key still gives full access to your data. Then run chmod 600 .env.local, because older releases left the file readable by every user on the host. Running sh scripts/selfhost.sh does the chmod and 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 --init sets up a new install, and git pull && docker compose pull && docker compose up -d upgrades one. A new ghcr.io/schelskedevco/ignidash-convex-init image 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.local is 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 --init rejects 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.

Don't miss a new ignidash release

NewReleases is sending notifications on new releases.