generated from bisco/codex-bootstrap
40 lines
1019 B
Markdown
40 lines
1019 B
Markdown
# Operations
|
|
|
|
## Startup
|
|
|
|
```bash
|
|
docker compose up --build
|
|
```
|
|
|
|
## Shutdown
|
|
|
|
```bash
|
|
docker compose down
|
|
```
|
|
|
|
## Health Checks
|
|
|
|
The PostgreSQL container has a `pg_isready` healthcheck. Backend and frontend smoke checks are manual in the MVP:
|
|
|
|
- backend: open `http://localhost:8000/admin/`;
|
|
- frontend: open `http://localhost:4200/`.
|
|
|
|
## Logs
|
|
|
|
```bash
|
|
docker compose logs backend
|
|
docker compose logs frontend
|
|
docker compose logs db
|
|
```
|
|
|
|
## Backup and Restore
|
|
|
|
No automated backup is configured for the MVP. Use `pg_dump` from the database container before preserving real scouting data.
|
|
|
|
## Known Operational Risks
|
|
|
|
- The frontend uses the Angular development server and is not production hardened.
|
|
- Role-specific permissions are modeled but not yet enforced per action.
|
|
- External data ingestion is intentionally not automated yet.
|
|
- The Angular development cache is configured under `/tmp/angular-cache` inside the container so the non-root frontend user does not need write access to the bind-mounted source tree.
|