CWA
This commit is contained in:
parent
5f7385f0ec
commit
ee8fb6350f
2 changed files with 69 additions and 0 deletions
54
services/calibre-web/calibre-web-deployment.yaml
Normal file
54
services/calibre-web/calibre-web-deployment.yaml
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: calibre-web
|
||||||
|
name: calibre-web
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
io.kompose.service: calibre-web
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: calibre-web
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- env:
|
||||||
|
- name: PUID
|
||||||
|
value: "1000"
|
||||||
|
- name: PGID
|
||||||
|
value: "1000"
|
||||||
|
- name: TZ
|
||||||
|
value: America/New_York
|
||||||
|
- name: DOCKER_MODS
|
||||||
|
value: linuxserver/mods:universal-calibre
|
||||||
|
image: crocodilestick/calibre-web-automated:latest
|
||||||
|
name: calibre-web
|
||||||
|
ports:
|
||||||
|
- containerPort: 8083
|
||||||
|
protocol: TCP
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /config
|
||||||
|
name: calibre-web-config
|
||||||
|
- mountPath: /calibre-library
|
||||||
|
name: calibre-web-library
|
||||||
|
- mountPath: /cwa-book-ingest
|
||||||
|
name: calibre-ingest-folder
|
||||||
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: calibre-web-config
|
||||||
|
nfs:
|
||||||
|
server: birdfeeder2.home.nest
|
||||||
|
path: /k3s/calibre-web
|
||||||
|
- name: calibre-web-library
|
||||||
|
nfs:
|
||||||
|
server: birdfeeder1.home.nest
|
||||||
|
path: /yarr/media/books/calibre-library
|
||||||
|
- name: calibre-ingest-folder
|
||||||
|
nfs:
|
||||||
|
server: birdfeeder1.home.nest
|
||||||
|
path: /yarr/media/books/calibre-ingest
|
||||||
15
services/calibre-web/calibre-web-service.yaml
Normal file
15
services/calibre-web/calibre-web-service.yaml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
io.kompose.service: calibre-web
|
||||||
|
name: calibre-web
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
ports:
|
||||||
|
- name: "30083"
|
||||||
|
port: 30083
|
||||||
|
targetPort: 8083
|
||||||
|
nodePort: 30083
|
||||||
|
selector:
|
||||||
|
io.kompose.service: calibre-web
|
||||||
Loading…
Add table
Reference in a new issue