41 lines
703 B
Terraform
41 lines
703 B
Terraform
|
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
|
||
|
},
|
||
|
]
|
||
|
|
||
|
}
|