diff --git a/nomad/jobs/staging.hcl b/nomad/jobs/staging.hcl index 9da01d4..fda9d64 100644 --- a/nomad/jobs/staging.hcl +++ b/nomad/jobs/staging.hcl @@ -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)