rename batch job
This commit is contained in:
parent
f2c7e9a95a
commit
9f5c738317
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
job "consul-backup" {
|
job "backup-consul" {
|
||||||
datacenters = ["homelab"]
|
datacenters = ["homelab"]
|
||||||
priority = 50
|
priority = 50
|
||||||
type = "batch"
|
type = "batch"
|
||||||
@ -15,7 +15,7 @@ job "consul-backup" {
|
|||||||
crons = ["30 3 * * *"]
|
crons = ["30 3 * * *"]
|
||||||
prohibit_overlap = true
|
prohibit_overlap = true
|
||||||
}
|
}
|
||||||
group "consul-backup" {
|
group "backup-consul" {
|
||||||
network {
|
network {
|
||||||
mode = "host"
|
mode = "host"
|
||||||
}
|
}
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
job "vault-backup" {
|
job "backup-vault" {
|
||||||
datacenters = ["homelab"]
|
datacenters = ["homelab"]
|
||||||
priority = 50
|
priority = 50
|
||||||
type = "batch"
|
type = "batch"
|
||||||
@ -15,14 +15,14 @@ job "vault-backup" {
|
|||||||
crons = ["30 3 * * *"]
|
crons = ["30 3 * * *"]
|
||||||
prohibit_overlap = true
|
prohibit_overlap = true
|
||||||
}
|
}
|
||||||
group "vault-backup" {
|
group "backup-vault" {
|
||||||
network {
|
network {
|
||||||
mode = "host"
|
mode = "host"
|
||||||
}
|
}
|
||||||
vault {
|
vault {
|
||||||
policies = ["vault-backup"]
|
policies = ["vault-backup"]
|
||||||
}
|
}
|
||||||
task "vault-backup" {
|
task "backup-vault" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
config {
|
config {
|
||||||
image = "ducampsv/docker-vault-backup:latest"
|
image = "ducampsv/docker-vault-backup:latest"
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
job "seedboxsync" {
|
job "batch-seedboxsync" {
|
||||||
datacenters = ["homelab"]
|
datacenters = ["homelab"]
|
||||||
priority = 50
|
priority = 50
|
||||||
type = "batch"
|
type = "batch"
|
Loading…
Reference in New Issue
Block a user