add audiobookshelf
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
bbbb96bd6a
commit
d8e2543152
25 changed files with 110 additions and 331 deletions
59
apps/audiobookshelf/deployment.yaml
Normal file
59
apps/audiobookshelf/deployment.yaml
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: audiobookshelf
|
||||
namespace: audiobookshelf
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: audiobookshelf
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: audiobookshelf
|
||||
spec:
|
||||
containers:
|
||||
- name: audiobookshelf
|
||||
image: ghcr.io/advplyr/audiobookshelf:2.35.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: TZ
|
||||
value: "America/Toronto"
|
||||
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
|
||||
volumeMounts:
|
||||
- name: audiobooks-volume
|
||||
mountPath: /audiobooks
|
||||
- name: podcasts-volume
|
||||
mountPath: /podcasts
|
||||
- name: config-volume
|
||||
mountPath: /config
|
||||
- name: metadata-volume
|
||||
mountPath: /metadata
|
||||
volumes:
|
||||
- name: audiobooks-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: audiobookshelf-audiobooks
|
||||
- name: podcasts-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: audiobookshelf-podcasts
|
||||
- name: config-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: audiobookshelf-config
|
||||
- name: metadata-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: audiobookshelf-metadata
|
||||
Loading…
Add table
Add a link
Reference in a new issue