fix: path issue
This commit is contained in:
parent
c37083b5c9
commit
e10830e028
@ -6,7 +6,11 @@ job "backup-consul" {
|
||||
meta {
|
||||
forcedeploy = "0"
|
||||
}
|
||||
|
||||
constraint {
|
||||
attribute = "${node.class}"
|
||||
operator = "set_contains"
|
||||
value = "cluster"
|
||||
}
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
value = "amd64"
|
||||
@ -24,7 +28,7 @@ job "backup-consul" {
|
||||
config {
|
||||
image = "ducampsv/docker-consul-backup:latest"
|
||||
volumes = [
|
||||
"/mnt/diskstation/backup/consul:/backup"
|
||||
"/mnt/diskstation/nomad/backup/consul:/backup"
|
||||
]
|
||||
}
|
||||
resources {
|
||||
|
@ -6,7 +6,11 @@ job "backup-postgress" {
|
||||
meta {
|
||||
forcedeploy = "0"
|
||||
}
|
||||
|
||||
constraint {
|
||||
attribute = "${node.class}"
|
||||
operator = "set_contains"
|
||||
value = "cluster"
|
||||
}
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
value = "amd64"
|
||||
@ -30,7 +34,7 @@ job "backup-postgress" {
|
||||
config {
|
||||
image = "ducampsv/docker-backup-postgres:latest"
|
||||
volumes = [
|
||||
"/mnt/diskstation/backup/postgres:/backup"
|
||||
"/mnt/diskstation/nomad/backup/postgres:/backup"
|
||||
]
|
||||
}
|
||||
template {
|
||||
|
@ -6,7 +6,11 @@ job "backup-vault" {
|
||||
meta {
|
||||
forcedeploy = "0"
|
||||
}
|
||||
|
||||
constraint {
|
||||
attribute = "${node.class}"
|
||||
operator = "set_contains"
|
||||
value = "cluster"
|
||||
}
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
value = "amd64"
|
||||
@ -27,7 +31,7 @@ job "backup-vault" {
|
||||
config {
|
||||
image = "ducampsv/docker-vault-backup:latest"
|
||||
volumes = [
|
||||
"/mnt/diskstation/backup/vault:/backup"
|
||||
"/mnt/diskstation/nomad/backup/vault:/backup"
|
||||
]
|
||||
}
|
||||
template {
|
||||
|
Loading…
Reference in New Issue
Block a user