Migrate host volumes to NFS & consolidate.
This commit is contained in:
@@ -19,24 +19,24 @@ job "igsync" {
|
||||
read_only = true
|
||||
source = "sw"
|
||||
}
|
||||
volume "appdata" {
|
||||
volume "services" {
|
||||
type = "host"
|
||||
read_only = false
|
||||
source = "appdata"
|
||||
source = "services"
|
||||
}
|
||||
|
||||
task "sync" {
|
||||
driver = "exec"
|
||||
|
||||
config {
|
||||
command = "/appdata/igsync/run.sh"
|
||||
command = "/data/services/igsync/run.sh"
|
||||
}
|
||||
|
||||
user = "ppetru"
|
||||
|
||||
volume_mount {
|
||||
volume = "appdata"
|
||||
destination = "/appdata"
|
||||
volume = "services"
|
||||
destination = "/data/services"
|
||||
}
|
||||
volume_mount {
|
||||
volume = "nix-store"
|
||||
|
||||
Reference in New Issue
Block a user