Skip to content

v3.0.0-beta.23

Latest

Choose a tag to compare

@lane711 lane711 released this 02 Jul 01:23

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 reset first-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-app

Or update existing project:

npm install @sonicjs-cms/core@3.0.0-beta.23