1d345eba32
The container still exited immediately after the su-based fix. can interfere with TTY/stdin handling for interactive shells. Switch to , which is root-only, skips PAM, and preserves file descriptors so bash stays interactive. Also improve container failure diagnostics: - now combines stdout and stderr - This helps surface the real reason when a container exits with code 0 Quality gates: - pytest tests/unit: 219 passed - ruff: clean on changed files - mypy: clean on changed files
1.7 KiB
1.7 KiB
apps/api/src (index)
dir: apps/api/src
role
Core application package for the Headquarter API, handling configuration, database connectivity, logging infrastructure, and FastAPI application lifecycle.
parent
index: apps/api/.pi-map.index.md map: apps/api/.pi-map.md
children
- apps/api/src/api index: apps/api/src/api/.pi-map.index.md map: apps/api/src/api/.pi-map.md
- apps/api/src/auth index: apps/api/src/auth/.pi-map.index.md map: apps/api/src/auth/.pi-map.md
- apps/api/src/headquarter_api.egg-info index: apps/api/src/headquarter_api.egg-info/.pi-map.index.md map: apps/api/src/headquarter_api.egg-info/.pi-map.md
- apps/api/src/models index: apps/api/src/models/.pi-map.index.md map: apps/api/src/models/.pi-map.md
- apps/api/src/schemas index: apps/api/src/schemas/.pi-map.index.md map: apps/api/src/schemas/.pi-map.md
- apps/api/src/scripts index: apps/api/src/scripts/.pi-map.index.md map: apps/api/src/scripts/.pi-map.md
- apps/api/src/seeds index: apps/api/src/seeds/.pi-map.index.md map: apps/api/src/seeds/.pi-map.md
- apps/api/src/services index: apps/api/src/services/.pi-map.index.md map: apps/api/src/services/.pi-map.md
- apps/api/src/utils index: apps/api/src/utils/.pi-map.index.md map: apps/api/src/utils/.pi-map.md
files
- __init__.py
- config.py
- database.py
- logging_config.py
- main.py
links
index: apps/api/src/.pi-map.index.md map: apps/api/src/.pi-map.md
workflows
- change src behavior read: __init__.py, config.py, database.py
- change src config read: config.py, logging_config.py
- explore src subdirectories index: apps/api/src/api/.pi-map.index.md, apps/api/src/auth/.pi-map.index.md, apps/api/src/headquarter_api.egg-info/.pi-map.index.md