2018-08-21 03:00:17 +00:00
|
|
|
module "jackett" {
|
|
|
|
name = "jackett"
|
|
|
|
source = "../modules/container"
|
|
|
|
image = "linuxserver/jackett:latest"
|
2021-10-15 12:54:13 +00:00
|
|
|
# TODO FIXME
|
|
|
|
# networks = [data.docker_network.bridge.id]
|
2018-02-17 20:46:56 +00:00
|
|
|
|
2021-10-15 12:54:13 +00:00
|
|
|
web = {
|
2018-08-21 03:00:17 +00:00
|
|
|
expose = true
|
|
|
|
port = 9117
|
|
|
|
host = "jackett.${var.domain}"
|
|
|
|
}
|
2018-02-17 20:46:56 +00:00
|
|
|
|
2021-10-15 12:54:13 +00:00
|
|
|
volumes = [
|
|
|
|
{
|
|
|
|
host_path = "/mnt/xwing/config/jackett"
|
|
|
|
container_path = "/config"
|
|
|
|
},
|
|
|
|
]
|
2018-02-17 20:46:56 +00:00
|
|
|
|
2021-10-15 12:54:13 +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",
|
|
|
|
]
|
|
|
|
}
|
2021-10-15 12:54:13 +00:00
|
|
|
|