nebula/media/radarr.tf
Nemo 9b40bfd341 [k8s] S01E01 Control Plane: etcd
This brings up etcd using the terraform docker provider
to my Digital Ocean VPN Server. The listen address is set to the
VPN Address (10.8.0.1 = openvpn master server, also running on the
same server).

/mnt/disk is a Digital Ocean Volume attached to the instance.
2019-01-27 02:49:55 +05:30

38 lines
637 B
HCL

module "radarr" {
name = "radarr"
source = "../modules/container"
image = "linuxserver/radarr:latest"
web {
expose = true
port = 7878
host = "radarr.${var.domain}"
}
resource {
memory = 512
memory_swap = 1024
}
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"
},
]
env = [
"PUID=1004",
"PGID=1003",
"TZ=Asia/Kolkata",
]
}