mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
initial refactor
This commit is contained in:
42
apps/media/unpackerr/config.yaml
Normal file
42
apps/media/unpackerr/config.yaml
Normal file
@@ -0,0 +1,42 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: unpackerr-config
|
||||
namespace: media
|
||||
data:
|
||||
PUID: "1000"
|
||||
PGID: "1000"
|
||||
# General config
|
||||
UN_DEBUG: "false"
|
||||
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: "c2ad0b30cf134aab811498079130c9ad"
|
||||
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: "35df26b6a0c64bfd9b869b01df440297"
|
||||
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"
|
||||
31
apps/media/unpackerr/deployment.yaml
Normal file
31
apps/media/unpackerr/deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: unpackerr-config
|
||||
optional: false
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: data
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: media-data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user