Compare commits
1 commit
baf56229c3
...
1935475fb6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1935475fb6 |
1 changed files with 5 additions and 4 deletions
|
|
@ -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 ────────────────────────────────────────────────
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue