created Jackett
This commit is contained in:
@@ -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=
|
||||
@@ -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}"
|
||||
Reference in New Issue
Block a user