Migrate host volumes to NFS & consolidate.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user