Migrate host volumes to NFS & consolidate.

This commit is contained in:
2025-10-23 21:58:44 +01:00
parent 854f663fb0
commit 58bb710cb9
6 changed files with 42 additions and 63 deletions

View File

@@ -2,10 +2,10 @@ job "resol-gateway" {
datacenters = ["alo"]
group "gw" {
volume "code" {
volume "services" {
type = "host"
read_only = true
source = "code"
source = "services"
}
volume "nix-store" {
type = "host"
@@ -29,12 +29,12 @@ job "resol-gateway" {
config {
command = "/sw/bin/node"
args = ["/code/resol-vbus/examples/json-live-data-server/index.js"]
args = ["/data/services/resol-vbus/examples/json-live-data-server/index.js"]
}
volume_mount {
volume = "code"
destination = "/code"
volume = "services"
destination = "/data/services"
}
volume_mount {
volume = "nix-store"