Before deploying to Coolify:
- Set
MASTER_KEYto a 64-hex production secret. - Set
DATABASE_FILEto persistent storage. - Set
SQLITE_STORAGE_ROOTto persistent storage. - Set
CORS_ORIGINto the exact frontend origin. - Set
NEXT_PUBLIC_API_URLto the backend URL. - Verify
npm testpasses inbackend/. - Verify
npm run smokepasses inbackend/. - Verify
npm run buildpasses infrontend/. - Confirm volume mounts survive container restart.
- Confirm the first admin account is created and can log in.
- Confirm project creation, database creation and query flow work end to end.
- Confirm logout clears cookies and requires re-authentication.