2023-08-07 18:37:19 +00:00
|
|
|
module "lidarr" {
|
|
|
|
source = "./service"
|
|
|
|
|
|
|
|
name = "lidarr"
|
2023-08-24 18:39:00 +00:00
|
|
|
image = "lscr.io/linuxserver/lidarr:1.3.5"
|
2023-08-07 18:37:19 +00:00
|
|
|
|
|
|
|
ingress = true
|
|
|
|
service_port = 8686
|
2023-08-24 19:36:47 +00:00
|
|
|
use_wesher = var.use_wesher
|
2023-08-07 18:37:19 +00:00
|
|
|
|
|
|
|
use_postgres = true
|
|
|
|
postgres_bootstrap = {
|
|
|
|
enabled = true
|
|
|
|
databases = [
|
|
|
|
"lidarr",
|
|
|
|
"lidarr-logs",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
env = {
|
|
|
|
PGID = 100
|
|
|
|
PUID = 1001
|
|
|
|
TZ = "America/Los_Angeles"
|
|
|
|
}
|
|
|
|
|
|
|
|
host_volumes = [
|
|
|
|
{
|
|
|
|
name = "lidarr-config"
|
|
|
|
dest = "/config"
|
|
|
|
read_only = false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name = "media-write"
|
|
|
|
dest = "/media"
|
|
|
|
read_only = false
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
|
|
|
resources = {
|
|
|
|
cpu = 500
|
|
|
|
memory = 1500
|
|
|
|
}
|
|
|
|
}
|