Audit(#66): compose.yml maps the wrong container port — compose deploy of the CD image is unreachable #108

Closed
opened 2026-11-07 19:22:55 +01:00 by amiryahaya · 0 comments
Owner

compose.yml:33 publishes 8080:8080, but the CD-built image (src/FailSulit.Api/Containerfile) listens on ASPNETCORE_URLS=http://+:5000 (Containerfile:65-68). compose.local.yml and the deployment guide use 5000; compose.yml's 8080 matches only the stray root Dockerfile.

Trigger: first production deploy per compose.yml → connection refused on :8080.

Fix: one line — "8080:5000" (or canonicalize the container port everywhere).

M1.5 close audit (#66).

compose.yml:33 publishes 8080:8080, but the CD-built image (src/FailSulit.Api/Containerfile) listens on ASPNETCORE_URLS=http://+:5000 (Containerfile:65-68). compose.local.yml and the deployment guide use 5000; compose.yml's 8080 matches only the stray root Dockerfile. **Trigger**: first production deploy per compose.yml → connection refused on :8080. **Fix**: one line — `"8080:5000"` (or canonicalize the container port everywhere). M1.5 close audit (#66).
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/failsulit#108
No description provided.