Changes
- feat(self-host): Tier 1 Docker / Node.js self-hosted deployment — run SonicJS on any server or container with SQLite persistence, no Cloudflare account required
- feat(self-host):
npm run resetfirst-boot seed — creates admin user + RBAC grants in a single idempotent command; safe to run multiple times - docs: New Self-Hosting guide and Docker deployment blog post
Docker Quick Start
docker build -t sonicjs .
docker run -d -p 3000:3000 \
-v $(pwd)/data:/app/data \
-e JWT_SECRET=$(openssl rand -base64 32) \
-e BETTER_AUTH_SECRET=$(openssl rand -base64 32) \
sonicjs
docker exec sonicjs npm run reset
# Admin: admin@sonicjs.com / sonicjs!Installation
npm create sonicjs@latest my-appOr update existing project:
npm install @sonicjs-cms/core@3.0.0-beta.23