Switch remaining services from nomad host volumes to docker volumes.
This commit is contained in:
@@ -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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user