chore: backup infrastructure configurations [skip ci]
This commit is contained in:
@@ -8,12 +8,7 @@ job "sonarr" {
|
||||
attribute = "${attr.kernel.name}"
|
||||
value = "linux"
|
||||
}
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
operator = "regexp"
|
||||
value = "amd64"
|
||||
}
|
||||
|
||||
|
||||
update {
|
||||
stagger = "10s"
|
||||
max_parallel = 1
|
||||
@@ -34,23 +29,18 @@ job "sonarr" {
|
||||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "linuxserver/sonarr:develop"
|
||||
image = "lscr.io/linuxserver/sonarr:develop"
|
||||
|
||||
ports = ["http"]
|
||||
|
||||
// dns_servers = ["192.168.1.1", "1.1.1.1"]
|
||||
dns_servers = ["${attr.unique.network.ip-address}","192.168.4.250","8.8.8.8"]
|
||||
memory_hard_limit = "2048"
|
||||
// cpuset_cpus = "4-7"
|
||||
|
||||
volumes = [
|
||||
"/mnt/Public/Downloads/news:/downloads",
|
||||
"/mnt/Public/Downloads/tv:/tv",
|
||||
// "/mnt/configs/sonarr:/config",
|
||||
"/mnt/Public/configs/sonarr_pg:/config",
|
||||
// "local/config.xml:/config/config.xml"
|
||||
]
|
||||
|
||||
// "/mnt/gv0/sonarr:/config",
|
||||
force_pull = false
|
||||
}
|
||||
|
||||
@@ -137,7 +127,7 @@ job "sonarr" {
|
||||
|
||||
# Specify configuration related to log rotation
|
||||
logs {
|
||||
max_files = 12
|
||||
max_files = 10
|
||||
max_file_size = 15
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user