rename batch job

This commit is contained in:
vincent 2023-11-25 18:57:32 +01:00
parent f2c7e9a95a
commit 9f5c738317
3 changed files with 6 additions and 6 deletions

View File

@ -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"
}

View File

@ -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"

View File

@ -1,5 +1,5 @@
job "seedboxsync" {
job "batch-seedboxsync" {
datacenters = ["homelab"]
priority = 50
type = "batch"