mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
unpackerr
This commit is contained in:
43
media/unpackerr/config.yaml
Normal file
43
media/unpackerr/config.yaml
Normal 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
|
||||||
29
media/unpackerr/deployment.yaml
Normal file
29
media/unpackerr/deployment.yaml
Normal 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
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user