Summary
Three Docker configuration gaps found across docker-compose.yml and Dockerfile.transformers
that affect container reliability, readiness detection, and code consistency.
Bugs
Bug 1 · Missing healthcheck — docker-compose.yml
Both services expose a /health endpoint but neither has a healthcheck defined in compose,
so Docker cannot detect if they're actually ready or unhealthy.
Bug 2 · No restart policy — docker-compose.yml
Neither service defines a restart policy. A crash (e.g. OOM during NLP model load)
leaves the container dead with no automatic recovery.
Affected Files
| File |
Change |
docker-compose.yml |
Added healthcheck + restart to both services |
Summary
Three Docker configuration gaps found across
docker-compose.ymlandDockerfile.transformersthat affect container reliability, readiness detection, and code consistency.
Bugs
Bug 1 · Missing healthcheck —
docker-compose.ymlBoth services expose a
/healthendpoint but neither has ahealthcheckdefined in compose,so Docker cannot detect if they're actually ready or unhealthy.
Bug 2 · No restart policy —
docker-compose.ymlNeither service defines a
restartpolicy. A crash (e.g. OOM during NLP model load)leaves the container dead with no automatic recovery.
Affected Files
docker-compose.ymlhealthcheck+restartto both services