59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: lidarr
|
|
name: lidarr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: lidarr
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lidarr
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: America/New_York
|
|
- name: WEBUI_PORTS
|
|
value: 8686/tcp
|
|
- name: DOCKER_MODS
|
|
value: "linuxserver/mods:lidarr-flac2mp3"
|
|
# Instruct FFmpeg to build Opus at a transparent 160kbps VBR rate
|
|
- name: FLAC2MP3_ARGS
|
|
value: "-a '-acodec libopus -ac 2 -ab 160k' -e .opus"
|
|
image: lscr.io/linuxserver/lidarr:nightly
|
|
name: lidarr
|
|
ports:
|
|
- containerPort: 8686
|
|
name: lidarr-ui
|
|
protocol: TCP
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: lidarr-config
|
|
- mountPath: /data
|
|
name: lidarr-data
|
|
- mountPath: /downloads
|
|
name: lidarr-downloads
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: lidarr-config
|
|
persistentVolumeClaim:
|
|
claimName: lidarr-config-pvc
|
|
- name: lidarr-data
|
|
nfs:
|
|
server: robin.home.nest
|
|
path: /yarr
|
|
- name: lidarr-downloads
|
|
nfs:
|
|
server: robin.home.nest
|
|
path: /yarr/downloads
|