Deploy Sovrium on Scalingo
You want a git-push deploy on a European PaaS, with a managed database and no server to run yourself.
Configure the app
Tell Scalingo how to start Sovrium with a Procfile, and add a managed PostgreSQL database so the app runs on Postgres instead of the SQLite default:
# Procfile
web: sovrium start app.ts
scalingo --app my-app addons-add postgresql postgresql-starter-512
scalingo --app my-app env-set \
AUTH_SECRET="$(openssl rand -hex 32)" \
SOVRIUM_ENCRYPTION_KEY="$(openssl rand -hex 32)" \
BASE_URL=https://my-app.osc-fr1.scalingo.io
Scalingo injects DATABASE_URL and PORT automatically — Sovrium reads both, so no extra wiring is needed.
Deploy and verify
git push scalingo main
curl -fsS https://my-app.osc-fr1.scalingo.io/ >/dev/null && echo "up"
Next
- Database Infrastructure — how
DATABASE_URLswitches Sovrium to Postgres. - Schema Migrations — schema evolution applies on the next deploy's boot.
- Environment Variables — the secrets to set with
env-set.
Last updated July 21, 2026
This documentation was written with Claude Fable 5 (Anthropic), so errors or outdated content are possible. Sovrium is in beta — contributions and corrections are welcome.