68 lines
1.8 KiB
YAML
68 lines
1.8 KiB
YAML
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: shelfmark
|
||
|
|
namespace: default
|
||
|
|
annotations:
|
||
|
|
reloader.stakater.com/auto: "true"
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
strategy:
|
||
|
|
type: Recreate
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: shelfmark
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: shelfmark
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: shelfmark
|
||
|
|
image: ghcr.io/calibrain/shelfmark:latest
|
||
|
|
env:
|
||
|
|
- name: PUID
|
||
|
|
value: "1000"
|
||
|
|
- name: PGID
|
||
|
|
value: "1000"
|
||
|
|
- name: TZ
|
||
|
|
value: America/New_York
|
||
|
|
- name: DISABLE_LOCAL_AUTH
|
||
|
|
value: "true"
|
||
|
|
- name: OIDC_ENABLE
|
||
|
|
value: "true"
|
||
|
|
- name: OIDC_ISSUER
|
||
|
|
value: "https://sso.mynest.love/realms/nest"
|
||
|
|
- name: OIDC_CLIENT_ID
|
||
|
|
value: "shelfmark"
|
||
|
|
- name: OIDC_ADMIN_GROUP
|
||
|
|
value: "admin"
|
||
|
|
ports:
|
||
|
|
- containerPort: 8084
|
||
|
|
name: web-ui
|
||
|
|
volumeMounts:
|
||
|
|
- mountPath: /config
|
||
|
|
name: shelfmark-config
|
||
|
|
- mountPath: /books
|
||
|
|
name: calibre-ingest
|
||
|
|
- mountPath: /audiobooks
|
||
|
|
name: audiobookshelf
|
||
|
|
- mountPath: /downloads
|
||
|
|
name: downloads
|
||
|
|
volumes:
|
||
|
|
- name: shelfmark-config
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: shelfmark-config-pvc
|
||
|
|
- name: calibre-ingest
|
||
|
|
nfs:
|
||
|
|
server: robin.home.nest
|
||
|
|
path: /yarr/media/books/calibre-ingest
|
||
|
|
- name: audiobookshelf
|
||
|
|
nfs:
|
||
|
|
server: robin.home.nest
|
||
|
|
path: /yarr/media/audiobooks
|
||
|
|
- name: downloads
|
||
|
|
nfs:
|
||
|
|
server: robin.home.nest
|
||
|
|
path: /yarr/downloads
|