chore: backup infrastructure configurations [skip ci]
This commit is contained in:
30
nomad_backup/qbitcheck.hcl
Normal file
30
nomad_backup/qbitcheck.hcl
Normal file
@@ -0,0 +1,30 @@
|
||||
job "qbitcheck" {
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
group "qbitcheck" {
|
||||
count = 1
|
||||
|
||||
task "qbitcheck" {
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "gitea.service.dc1.fbleagh.duckdns.org/sstent/qbitcheck:latest"
|
||||
force_pull = true
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 100 # 100 MHz
|
||||
memory = 128 # 128 MB
|
||||
}
|
||||
|
||||
restart {
|
||||
attempts = 10
|
||||
interval = "5m"
|
||||
delay = "25s"
|
||||
mode = "delay"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user