Files
iac-ansible-public/roles/lazylibrarian/files/lazylibrarian-deployment.yaml
2026-01-23 11:52:58 +00:00

55 lines
1.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: lazylibrarian
namespace: stack-arr
spec:
replicas: 1
selector:
matchLabels:
app: lazylibrarian
template:
metadata:
labels:
app: lazylibrarian
spec:
imagePullSecrets:
- name: regcred
containers:
- name: lazylibrarian
image: lscr.io/linuxserver/lazylibrarian:latest
securityContext:
capabilities:
add:
- NET_ADMIN
ports:
- containerPort: 5299
name: webui
env:
- name: PUID
value: "1013"
- name: PGID
value: "1013"
- name: TZ
value: 'Etc/UTC'
volumeMounts:
- name: config
mountPath: /config
- name: books
mountPath: /books
- name: downloads
mountPath: /downloads
volumes:
- name: config
persistentVolumeClaim:
claimName: lazylibrarian-config-pvc
- name: books
persistentVolumeClaim:
claimName: lazylibrarian-books-pvc
- name: downloads
persistentVolumeClaim:
claimName: qbittorrent-downloads-pvc