fix: [nomad-step-5] S5-fix-2 — staging.hcl command should be caddy file-server not file-server (#1007)
All checks were successful
All checks were successful
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1eac6d63e2
commit
ec8791787d
1 changed files with 4 additions and 3 deletions
|
|
@ -65,9 +65,10 @@ job "staging" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "caddy:alpine"
|
image = "caddy:alpine"
|
||||||
ports = ["http"]
|
ports = ["http"]
|
||||||
args = ["file-server", "--root", "/srv/site"]
|
command = "caddy"
|
||||||
|
args = ["file-server", "--root", "/srv/site"]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Mount docker/ directory as /srv/site:ro (static content)
|
# Mount docker/ directory as /srv/site:ro (static content)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue