Operations¶
Docker¶
Start¶
Stop¶
Logs¶
Health checks¶
| Service | URL |
|---|---|
| Backend | http://localhost:8000/ |
| Swagger UI | http://localhost:8000/docs |
| Frontend | http://localhost:3721 |
Database¶
Migrations¶
Schema changes are managed exclusively via Alembic. Migrations run automatically at container start. To run them manually:
Important
Base.metadata.create_all() is not called at startup. All schema changes must be expressed as Alembic migration files under alembic/versions/.
Stamping an existing database¶
If you have a database that was created outside of Alembic (e.g. from an older create_all deployment), stamp it at the correct revision before running migrations:
Reset (development)¶
Danger
This deletes all data.
Environment Variables¶
See the Configuration reference for the full list of environment variables.
Warning
Never commit .env to version control. Use secrets management in production.