58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: lidarr
|
||
|
name: lidarr
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: lidarr
|
||
|
template:
|
||
|
metadata:
|
||
|
creationTimestamp: null
|
||
|
labels:
|
||
|
app: lidarr
|
||
|
spec:
|
||
|
containers:
|
||
|
- image: hotio/lidarr:release
|
||
|
name: lidarr
|
||
|
ports:
|
||
|
- name: http
|
||
|
containerPort: 7878
|
||
|
protocol: TCP
|
||
|
volumeMounts:
|
||
|
- name: config
|
||
|
mountPath: /config
|
||
|
- name: torrents
|
||
|
mountPath: /torrents
|
||
|
- name: data
|
||
|
mountPath: /data
|
||
|
- image: imartyn/krantor
|
||
|
name: krantor
|
||
|
env:
|
||
|
- name: PUTIO_DOWNLOAD_FOLDER_ID
|
||
|
value: "1092891593"
|
||
|
- name: PUTIO_WATCH_FOLDER
|
||
|
value: /torrents
|
||
|
- name: PUTIO_TOKEN
|
||
|
valueFrom:
|
||
|
secretKeyRef:
|
||
|
name: putio-token
|
||
|
key: token
|
||
|
volumeMounts:
|
||
|
- name: torrents
|
||
|
mountPath: /torrents
|
||
|
- name: data
|
||
|
mountPath: /data
|
||
|
volumes:
|
||
|
- name: config
|
||
|
persistentVolumeClaim:
|
||
|
claimName: lidarr-config-data
|
||
|
- name: torrents
|
||
|
emptyDir: {}
|
||
|
- name: data
|
||
|
emptyDir: {}
|
||
|
|