unpackerr

This commit is contained in:
2024-04-16 17:25:44 -04:00
parent 95490bac9f
commit 14db4f9d2e
2 changed files with 72 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: unpackerr-config
namespace: media
data:
PUID: "1000"
PGID: "1000"
# General config
UN_DEBUG: false
UN_LOG_FILE:
UN_LOG_FILES: 10
UN_LOG_FILE_MB: 10
UN_INTERVAL: 2m
UN_START_DELAY: 1m
UN_RETRY_DELAY: 5m
UN_MAX_RETRIES: 3
UN_PARALLEL: 1
UN_FILE_MODE: 0644
UN_DIR_MODE: 0755
# Sonarr Config
UN_SONARR_0_URL: http://sonarr:80
UN_SONARR_0_API_KEY:
UN_SONARR_0_PATHS_0: /data/downloads
UN_SONARR_0_PROTOCOLS: torrent
UN_SONARR_0_TIMEOUT: 10s
UN_SONARR_0_DELETE_ORIG: false
UN_SONARR_0_DELETE_DELAY: 5m
# Radarr Config
UN_RADARR_0_URL: http://radarr:80
UN_RADARR_0_API_KEY:
UN_RADARR_0_PATHS_0: /data/downloads
UN_RADARR_0_PROTOCOLS: torrent
UN_RADARR_0_TIMEOUT: 10s
UN_RADARR_0_DELETE_ORIG: false
UN_RADARR_0_DELETE_DELAY: 5m
# Folder Config
UN_FOLDER_0_PATH:
UN_FOLDER_0_EXTRACT_PATH:
UN_FOLDER_0_DELETE_AFTER: 10m
UN_FOLDER_0_DELETE_ORIGINAL: false
UN_FOLDER_0_DELETE_FILES: false
UN_FOLDER_0_MOVE_BACK: false

View File

@@ -0,0 +1,29 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: unpackerr
namespace: media
spec:
selector:
matchLabels:
app: unpackerr
template:
metadata:
labels:
app: unpackerr
spec:
containers:
- name: unpackerr
image: golift/unpackerr:latest
envFrom:
- configMapRef:
name: unpackerr-config
optional: false
- mountPath: /data
name: data
volumes:
- name: data
persistentVolumeClaim:
claimName: media-data