X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=terraform-ci-infra%2F1n_nmd%2Fnginx%2Fconf%2Fnomad%2Fnginx.hcl;h=3c4761c5674f20a38840f20c5613fc9c5f5adef7;hp=9cb5f8ef45e4eccc44f51902d4136d6f5b100975;hb=f7825e80ea0688fa337b8a36086df2e577ca6101;hpb=b83a029d3c6524b7f0139746fcc4325e692976b6 diff --git a/terraform-ci-infra/1n_nmd/nginx/conf/nomad/nginx.hcl b/terraform-ci-infra/1n_nmd/nginx/conf/nomad/nginx.hcl index 9cb5f8ef45..3c4761c567 100644 --- a/terraform-ci-infra/1n_nmd/nginx/conf/nomad/nginx.hcl +++ b/terraform-ci-infra/1n_nmd/nginx/conf/nomad/nginx.hcl @@ -87,6 +87,15 @@ job "${job_name}" { # to 1. count = 1 + # https://www.nomadproject.io/docs/job-specification/volume + %{ if use_host_volume } + volume "prod-volume1-nginx" { + type = "host" + read_only = false + source = "${host_volume}" + } + %{ endif } + # The restart stanza configures a tasks's behavior on task failure. Restarts # happen on the client that is running the task. restart {