Lazy librarian
This commit is contained in:
parent
e941dbde7a
commit
5f7385f0ec
2 changed files with 78 additions and 0 deletions
60
services/lazy-librarian/lazylibrarian-deployment.yaml
Normal file
60
services/lazy-librarian/lazylibrarian-deployment.yaml
Normal file
|
|
@ -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
|
||||
18
services/lazy-librarian/lazylibrarian-service.yaml
Normal file
18
services/lazy-librarian/lazylibrarian-service.yaml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue