homelab-nomad/services/tdarr.tf

41 lines
703 B
Terraform
Raw Permalink Normal View History

2024-12-18 00:32:19 +00:00
module "tdarr" {
source = "./service"
name = "tdarr"
image = "ghcr.io/haveagitgat/tdarr:latest"
image_pull_timeout = "10m"
ingress = true
service_port = 8265
use_wesher = var.use_wesher
env = {
PGID = 100
PUID = 1001
TZ = "America/Los_Angeles"
internalNode = true
inContainer = true
}
host_volumes = [
{
name = "tdarr-config"
dest = "/app/configs"
read_only = false
},
{
name = "media-write"
dest = "/media"
read_only = false
},
{
name = "media-overflow-write"
dest = "/media-overflow"
read_only = false
},
]
}