[nomad-step-5] S5.2 — nomad/jobs/staging.hcl + chat.hcl #989
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: disinto-admin/disinto#989
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Part of the Nomad+Vault migration. Step 5 — Edge + staging + chat + vault-runner dispatch.
Goal
Add
nomad/jobs/staging.hcl+nomad/jobs/chat.hcl— lightweight service jobs for the staging file server and Claude chat UI.Scope
nomad/jobs/staging.hcljob "staging",type = "service", imagecaddy:alpine.caddy file-server --root /srv/site.docker/dir as/srv/site:ro(static content, same as current compose).nomad/jobs/chat.hcljob "chat",type = "service", custom image fromdocker/chat/Dockerfile.disinto/chat:local(same:localpattern).tmpfs /tmp:size=64m, cap_drop ALL, pids_limit 128, mem_limit 512m (matches compose sandbox hardening from #706).CHAT_OAUTH_CLIENT_ID,CHAT_OAUTH_CLIENT_SECRET,FORWARD_AUTH_SECRETfromkv/disinto/shared/chat.chat-history→/var/lib/chat/history.checkstanza: HTTP on port 8080.bin/disinto: adddisinto/chat:localto the custom-image build loop.Acceptance criteria
nomad alloc exec).Non-goals
Labels / meta
[nomad-step-5] S5.2— no dependencies.Prior art round 1 — abandoned PR #995 (closed, branch kept)
dev-qwen CI-exhausted.
nomad-job-validatefails onchat.hcl:Nomad Docker driver uses
security_optinsideconfig {}, not at the task level. Movesecurity_opt = [...]into theconfig { }block alongsideimage. Same pattern asagents.hclwhich already hassecurity_optinconfig {}.Prior art round 2 — abandoned PR #998 (closed, branch kept)
dev-qwen2 also CI-exhausted on same
security_optplacement issue inchat.hcl. Two llama bots failed. Force-assigning to dev-bot (Claude).Fix remains: move
security_optfrom task-level intoconfig { }block inchat.hcl. Same pattern asagents.hclline ~X wheresecurity_opt = ["apparmor=unconfined"]lives insideconfig { image = "..." ... }.Blocked — issue #989
ci_exhausted2026-04-18T07:05:01ZBlocked — issue #989
ci_exhausted_poll (3 attempts, PR #998)2026-04-18T07:53:17ZBlocked — issue #989
ci_exhausted2026-04-18T08:09:53Z