diff --git a/services/lazy-librarian/lazylibrarian-deployment.yaml b/services/lazy-librarian/lazylibrarian-deployment.yaml new file mode 100644 index 0000000..0b83304 --- /dev/null +++ b/services/lazy-librarian/lazylibrarian-deployment.yaml @@ -0,0 +1,60 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + kompose.cmd: kompose convert -f compose-ll.yaml + kompose.version: 1.38.0 (HEAD) + labels: + io.kompose.service: lazylibrarian + name: lazylibrarian +spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: lazylibrarian + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: kompose convert -f compose-ll.yaml + kompose.version: 1.38.0 (HEAD) + labels: + io.kompose.service: lazylibrarian + spec: + containers: + - env: + - name: DOCKER_MODS + value: linuxserver/mods:universal-calibre|linuxserver/mods:lazylibrarian-ffmpeg + - name: PGID + value: "1000" + - name: PUID + value: "1000" + - name: TZ + value: America/New_York + image: lscr.io/linuxserver/lazylibrarian:latest + name: lazylibrarian + ports: + - containerPort: 5299 + protocol: TCP + volumeMounts: + - mountPath: /config + name: lazylibrarian-config + - mountPath: /downloads + name: lazylibrarian-downloads + - mountPath: /data + name: lazylibrarian-data + restartPolicy: Always + volumes: + - name: lazylibrarian-config + nfs: + server: birdfeeder2.home.nest + path: /k3s/lazy-librarian + - name: lazylibrarian-downloads + nfs: + server: birdfeeder1.home.nest + path: /yarr/downloads + - name: lazylibrarian-data + nfs: + server: birdfeeder1.home.nest + path: /yarr diff --git a/services/lazy-librarian/lazylibrarian-service.yaml b/services/lazy-librarian/lazylibrarian-service.yaml new file mode 100644 index 0000000..8af487c --- /dev/null +++ b/services/lazy-librarian/lazylibrarian-service.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + kompose.cmd: kompose convert -f compose-ll.yaml + kompose.version: 1.38.0 (HEAD) + labels: + io.kompose.service: lazylibrarian + name: lazylibrarian +spec: + type: NodePort + ports: + - name: "30787" + port: 30787 + targetPort: 5299 + nodePort: 30787 + selector: + io.kompose.service: lazylibrarian