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