Switch to host volumes. Grafana not working yet.

This commit is contained in:
2023-07-17 21:02:59 +01:00
parent 9a4d00bfd3
commit 91f801401e
8 changed files with 17 additions and 148 deletions

View File

@@ -26,12 +26,10 @@ job "pi.paler.net" {
}
}
volume "sites-volume" {
type = "csi"
source = "sites-volume"
access_mode = "single-node-reader-only"
volume "sites" {
type = "host"
source = "sites"
read_only = true
attachment_mode = "file-system"
}
task "http-server" {
@@ -50,7 +48,7 @@ job "pi.paler.net" {
}
volume_mount {
volume = "sites-volume"
volume = "sites"
destination = "/srv/http"
}
}