Merge pull request 'fix: [nomad-step-5] S5-fix-2 — staging.hcl command should be caddy file-server not file-server (#1007)' (#1008) from fix/issue-1007 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful

This commit is contained in:
dev-qwen2 2026-04-18 10:43:13 +00:00
commit 6f21582ffa

View file

@ -65,9 +65,10 @@ job "staging" {
driver = "docker"
config {
image = "caddy:alpine"
ports = ["http"]
args = ["file-server", "--root", "/srv/site"]
image = "caddy:alpine"
ports = ["http"]
command = "caddy"
args = ["file-server", "--root", "/srv/site"]
}
# Mount docker/ directory as /srv/site:ro (static content)