diff --git a/ansible_playbooks/setup-cluster.yml b/ansible_playbooks/setup-cluster.yml index bc6469e..ee413df 100644 --- a/ansible_playbooks/setup-cluster.yml +++ b/ansible_playbooks/setup-cluster.yml @@ -131,6 +131,9 @@ - name: radarr-config path: /srv/volumes/nas-container/radarr read_only: false + - name: tdarr-config + path: /srv/volumes/nas-container/tdarr + read_only: false - name: bazarr-config path: /srv/volumes/nas-container/bazarr read_only: false diff --git a/services/tdarr.tf b/services/tdarr.tf new file mode 100644 index 0000000..15a5d6b --- /dev/null +++ b/services/tdarr.tf @@ -0,0 +1,40 @@ +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 + }, + ] + +}