- Create production env values from
.env.example. - Set
ENVIRONMENT=production. - Set
POSTGRES_*for your production database. - Set
AUTH_TOKENas a SHA-256 hex digest (64 lowercase chars) of your bearer token. - Optionally set
GUARDRAILS_HUB_API_KEYandSENTRY_DSN.
Generate AUTH token hash:
echo -n "your-plain-text-token" | shasum -a 256Build and start backend:
docker compose build backend
docker compose up -d backendRun migrations and initial setup (recommended before or during first rollout):
docker compose --profile prestart up prestartDefault host endpoint:
- API/Docs host:
http://<host>:8001 - Health check:
http://<host>:8001/api/v1/utils/health-check/
CI workflow is defined in .github/workflows/continuous_integration.yml.
It runs dependency install, Guardrails validator installation, migrations, pre-commit checks, and tests.