Axum/Rust API server for Voltius. Licensed under AGPLv3 — see LICENSE.
cp .env.example .env
# Edit .env with your values
docker compose up -dListening on http://0.0.0.0:8080 by default.
Business customers who self-host receive a commercial license exception alongside their subscription, allowing private modifications without AGPLv3 obligations. See COMMERCIAL_LICENSE.md.
Copy .env.example to .env and fill in the values. That file is the source of truth for all available variables.
Generate secure secrets with:
openssl rand -hex 32ADMIN_SECRET is a shared secret between this server and the Next.js web app. The web app sends it as an X-Admin-Key header on every admin API request. It must match the ADMIN_SECRET set in web/.env.local (or Vercel environment variables).
Migrations run automatically at server startup. No manual steps needed.