nebula/media/radarr.tf

40 lines
717 B
Terraform
Raw Normal View History

2018-08-21 03:09:00 +00:00
module "radarr" {
name = "radarr"
source = "../modules/container"
image = "linuxserver/radarr:latest"
2019-01-28 19:01:06 +00:00
networks = "${list(docker_network.media.id, data.docker_network.bridge.id)}"
2018-08-21 03:09:00 +00:00
web {
expose = true
port = 7878
host = "radarr.${var.domain}"
2018-01-29 20:09:36 +00:00
}
2018-08-21 03:09:00 +00:00
resource {
2019-01-26 21:19:09 +00:00
memory = 512
memory_swap = 1024
2018-01-29 20:09:36 +00:00
}
2018-08-21 03:09:00 +00:00
volumes = [
{
host_path = "/mnt/xwing/config/radarr"
container_path = "/config"
},
{
host_path = "/mnt/xwing/media/DL"
container_path = "/downloads"
},
{
host_path = "/mnt/xwing/media/Movies"
container_path = "/movies"
},
]
2018-01-29 20:09:36 +00:00
env = [
"PUID=1004",
"PGID=1003",
"TZ=Asia/Kolkata",
]
}