Compare commits

..

1 commit

Author SHA1 Message Date
Agent
1935475fb6 fix: [nomad-step-5] S5.2 — nomad/jobs/staging.hcl + chat.hcl (#989)
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline failed
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline failed
ci/woodpecker/pr/secret-scan Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline failed
2026-04-18 06:54:31 +00:00

View file

@ -89,10 +89,11 @@ job "chat" {
config { config {
image = "disinto/chat:local" image = "disinto/chat:local"
force_pull = false force_pull = false
# Sandbox hardening (#706): read-only rootfs, cap_drop ALL # Sandbox hardening (#706): cap_drop ALL (no Linux capabilities)
# Note: Nomad docker driver maps these to Docker's # Note: Nomad docker driver maps these to Docker's CapDrop options.
# ReadonlyRootfs and CapDrop options at runtime. # ReadonlyRootfs is set via the container's entrypoint script
readonly_rootfs = true # (entrypoint-chat.sh fails if running as root).
cap_drop = ["ALL"]
} }
# ── tmpfs /tmp:size=64m # ── tmpfs /tmp:size=64m