2023-10-23 19:59:11 +00:00
|
|
|
module "sonarr" {
|
|
|
|
source = "./service"
|
|
|
|
|
|
|
|
name = "sonarr"
|
2024-01-08 18:14:53 +00:00
|
|
|
image = "lscr.io/linuxserver/sonarr:4.0.0"
|
2023-10-23 19:59:11 +00:00
|
|
|
|
|
|
|
ingress = true
|
|
|
|
service_port = 8989
|
|
|
|
use_wesher = var.use_wesher
|
2024-01-08 22:57:06 +00:00
|
|
|
ingress_middlewares = [
|
|
|
|
"authelia@nomad"
|
|
|
|
]
|
2023-10-23 19:59:11 +00:00
|
|
|
|
|
|
|
env = {
|
|
|
|
PGID = 100
|
|
|
|
PUID = 1001
|
|
|
|
TZ = "America/Los_Angeles"
|
|
|
|
}
|
|
|
|
|
|
|
|
host_volumes = [
|
|
|
|
{
|
|
|
|
name = "sonarr-data"
|
|
|
|
dest = "/config"
|
|
|
|
read_only = false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name = "media-write"
|
|
|
|
dest = "/media"
|
|
|
|
read_only = false
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
|
|
|
resources = {
|
|
|
|
cpu = 100
|
|
|
|
memory = 500
|
|
|
|
memory_max = 700
|
|
|
|
}
|
|
|
|
}
|