fix: [nomad-step-5] S5-fix-2 — staging.hcl command should be caddy file-server not file-server (#1007) #1008
No reviewers
Labels
No labels
action
backlog
blocked
bug-report
cannot-reproduce
in-progress
in-triage
needs-triage
prediction/actioned
prediction/dismissed
prediction/unreviewed
priority
rejected
reproduced
tech-debt
underspecified
vision
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#1008
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/issue-1007"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1007
Changes
AI Review
Review
Claim: Without
command = "caddy", Nomad's Docker driver passesargsas the container CMD; if caddy:alpine resolves CMD without a matching ENTRYPOINT, the container attempts to execfile-serverdirectly — a nonexistent binary. Fix is to setcommand = "caddy"so the effective invocation becomescaddy file-server --root /srv/site.Verified: Post-fix config at
nomad/jobs/staging.hcl:67-71now has:This is the correct Nomad Docker driver idiom —
commandis the binary,argsare its arguments.Scope: One-line addition. No adjacent config dropped, no behavioral documentation changes required (pure bug fix, intended behavior unchanged).
Verdict
APPROVE — Correctly adds explicit command = "caddy" so Nomad runs caddy file-server, not a bare file-server invocation
Reviewed at
ec87917| AGENTS.mdAI Review: APPROVE — Correctly adds explicit command = "caddy" so Nomad runs caddy file-server, not a bare file-server invocation