From 618e976e81bcfaf5db093e8f5a750860b06a952e Mon Sep 17 00:00:00 2001 From: Derek Cooper Date: Sat, 23 May 2026 23:41:03 -0700 Subject: [PATCH] created Jackett --- Jackett/.env.example | 26 +++++++++++++++++++++ Jackett/docker-compose-nfs.yaml | 41 +++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 Jackett/.env.example create mode 100644 Jackett/docker-compose-nfs.yaml diff --git a/Jackett/.env.example b/Jackett/.env.example new file mode 100644 index 0000000..f149cb2 --- /dev/null +++ b/Jackett/.env.example @@ -0,0 +1,26 @@ +# Jackett Docker Compose Environment Variables + +# Image version tag (default: latest) +JACKETT_VERSION=latest + +# User and group ID for file permissions (default: 1000) +JACKETT_PUID=1000 +JACKETT_PGID=1000 + +# Timezone (default: America/Los_Angeles) +JACKETT_TZ=America/Los_Angeles + +# Enable Jackett auto-updates (default: false) +JACKETT_UPDATE=false + +# Host port to expose the Jackett web UI (default: 9117) +JACKETT_PORT=9117 + +# NFS server hostname or IP address +JACKETT_NFS_SERVER= + +# NFS device path for Jackett config storage (e.g. :/mnt/pool/jackett/config) +JACKETT_CONFIG_NFS_DEVICE= + +# NFS device path for Jackett downloads storage (e.g. :/mnt/pool/jackett/downloads) +JACKETT_DOWNLOADS_NFS_DEVICE= diff --git a/Jackett/docker-compose-nfs.yaml b/Jackett/docker-compose-nfs.yaml new file mode 100644 index 0000000..168cc7e --- /dev/null +++ b/Jackett/docker-compose-nfs.yaml @@ -0,0 +1,41 @@ +services: + app: + image: linuxserver/jackett:${JACKETT_VERSION:-latest} + container_name: jackett-app + environment: + - PUID=${JACKETT_PUID:-1000} + - PGID=${JACKETT_PGID:-1000} + - TZ=${JACKETT_TZ:-America/Los_Angeles} + - AUTO_UPDATE=${JACKETT_UPDATE:-false} + volumes: + - jackett-config:/config + - jackett-downloads:/downloads + ports: + - ${JACKETT_PORT:-9117}:9117 + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:9117/UI/Dashboard"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 20s + deploy: + resources: + limits: + memory: 512m + restart: unless-stopped + +volumes: + jackett-config: + name: jackett-config + driver: local + driver_opts: + type: nfs + o: "addr=${JACKETT_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4" + device: "${JACKETT_CONFIG_NFS_DEVICE}" + jackett-downloads: + name: jackett-downloads + driver: local + driver_opts: + type: nfs + o: "addr=${JACKETT_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4" + device: "${JACKETT_DOWNLOADS_NFS_DEVICE}" \ No newline at end of file