30 lines
496 B
HCL
30 lines
496 B
HCL
module "jackett" {
|
|
name = "jackett"
|
|
source = "../modules/container"
|
|
image = "linuxserver/jackett:latest"
|
|
|
|
networks = "${list(data.docker_network.bridge.id)}"
|
|
|
|
web {
|
|
expose = true
|
|
port = 9117
|
|
host = "jackett.${var.domain}"
|
|
}
|
|
|
|
volumes = [{
|
|
host_path = "/mnt/xwing/config/jackett"
|
|
container_path = "/config"
|
|
}]
|
|
|
|
resource {
|
|
memory = "256"
|
|
memory_swap = "512"
|
|
}
|
|
|
|
env = [
|
|
"PUID=1004",
|
|
"PGID=1003",
|
|
"TZ=Asia/Kolkata",
|
|
]
|
|
}
|