feat: Operational hardening — healthcheck, config refactor, requirements lock
- Add GET /health route (DB + Redis ping, 200/503) with Dockerfile HEALTHCHECK directive - Replace config.py stub with real pydantic BaseSettings reading directly from env vars; remove external config file mount from docker-compose - Add requirements.lock (pip freeze snapshot for bit-identical builds) - Untrack config.py globally but allow app/config.py via .gitignore negation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
- [x] **Unified Orchestration:** API now builds as part of the `aether_container_env` stack.
|
||||
|
||||
## 📋 Operational Hardening (Next Steps)
|
||||
- [ ] **Healthcheck:** Implement `/health` route to verify DB/Redis status for Docker orchestration.
|
||||
- [ ] **Config Refactor:** Switch `app/config.py` to `pydantic-settings` to use direct Env Vars (Stop mounting config files).
|
||||
- [x] **Healthcheck:** Implement `/health` route to verify DB/Redis status for Docker orchestration.
|
||||
- [x] **Config Refactor:** Switch `app/config.py` to `pydantic-settings` to use direct Env Vars (Stop mounting config files).
|
||||
- [ ] **Locking:** Generate a `requirements.lock` for bit-identical builds.
|
||||
|
||||
## 📋 Feature Tasks
|
||||
|
||||
Reference in New Issue
Block a user