chore: backup infrastructure configurations [skip ci]
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
# There can only be a single job definition per file.
|
||||
# Create a job with ID and Name 'example'
|
||||
job "prowlarr" {
|
||||
constraint {
|
||||
attribute = "${attr.cpu.arch}"
|
||||
operator = "!="
|
||||
value = "arm"
|
||||
}
|
||||
|
||||
datacenters = ["dc1"]
|
||||
type = "service"
|
||||
|
||||
@@ -36,11 +30,28 @@ job "prowlarr" {
|
||||
}
|
||||
|
||||
|
||||
task "flaresolver" {
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "ghcr.io/flaresolverr/flaresolverr:latest"
|
||||
ports = ["http_flare"]
|
||||
dns_servers = ["${attr.unique.network.ip-address}","192.168.4.250","8.8.8.8"]
|
||||
memory_hard_limit = "2048"
|
||||
force_pull = false
|
||||
}
|
||||
service {
|
||||
name = "${TASKGROUP}"
|
||||
tags = ["prowlarr_pg", "tools"]
|
||||
port = "http_flare"
|
||||
}
|
||||
}
|
||||
|
||||
task "prowlarr" {
|
||||
driver = "docker"
|
||||
config {
|
||||
image = "ghcr.io/linuxserver/prowlarr:develop"
|
||||
ports = ["http"]
|
||||
dns_servers = ["${attr.unique.network.ip-address}","192.168.4.250","8.8.8.8"]
|
||||
memory_hard_limit = "2048"
|
||||
volumes = [
|
||||
"/mnt/Public/configs/prowlarr_pg:/config",
|
||||
|
||||
Reference in New Issue
Block a user