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
This commit is contained in:
commit
6f21582ffa
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue