Switch remaining services from nomad host volumes to docker volumes.

This commit is contained in:
2023-07-21 06:59:32 +01:00
parent 0e7a34a341
commit 496e3c9e44
4 changed files with 9 additions and 39 deletions

View File

@@ -26,12 +26,6 @@ job "pi.paler.net" {
}
}
volume "sites" {
type = "host"
source = "sites"
read_only = true
}
task "http-server" {
driver = "docker"
@@ -42,14 +36,10 @@ job "pi.paler.net" {
args = [
"-port=${NOMAD_PORT_http}",
"-path=/srv/http/pi.paler.net",
"-enable-health",
]
}
volume_mount {
volume = "sites"
destination = "/srv/http"
volumes = [ "/data/compute/sites/pi.paler.net:/srv/http" ]
}
}
}