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