nebula/media/jackett.tf

30 lines
496 B
Terraform
Raw Normal View History

2018-08-21 03:00:17 +00:00
module "jackett" {
name = "jackett"
source = "../modules/container"
image = "linuxserver/jackett:latest"
2018-02-17 20:46:56 +00:00
2019-01-28 19:01:06 +00:00
networks = "${list(data.docker_network.bridge.id)}"
2018-08-21 03:00:17 +00:00
web {
expose = true
port = 9117
host = "jackett.${var.domain}"
}
2018-02-17 20:46:56 +00:00
2018-08-21 03:09:00 +00:00
volumes = [{
2018-02-17 20:46:56 +00:00
host_path = "/mnt/xwing/config/jackett"
container_path = "/config"
2018-08-21 03:09:00 +00:00
}]
2018-02-17 20:46:56 +00:00
2018-09-12 16:17:14 +00:00
resource {
2019-01-28 19:01:06 +00:00
memory = "256"
memory_swap = "512"
2018-09-12 16:17:14 +00:00
}
2018-02-17 20:46:56 +00:00
env = [
"PUID=1004",
"PGID=1003",
"TZ=Asia/Kolkata",
]
}