37 lines
892 B
YAML
37 lines
892 B
YAML
|
|
apiVersion: apps/v1
|
||
|
|
kind: Deployment
|
||
|
|
metadata:
|
||
|
|
name: shelfmark
|
||
|
|
namespace: media
|
||
|
|
spec:
|
||
|
|
replicas: 1
|
||
|
|
selector:
|
||
|
|
matchLabels:
|
||
|
|
app: shelfmark
|
||
|
|
template:
|
||
|
|
metadata:
|
||
|
|
labels:
|
||
|
|
app: shelfmark
|
||
|
|
spec:
|
||
|
|
containers:
|
||
|
|
- name: shelfmark
|
||
|
|
image: calibrain/shelfmark:latest
|
||
|
|
ports:
|
||
|
|
- containerPort: 8084
|
||
|
|
env:
|
||
|
|
- name: TZ
|
||
|
|
value: "America/New_York"
|
||
|
|
volumeMounts:
|
||
|
|
- name: config
|
||
|
|
mountPath: /config
|
||
|
|
# This is where Shelfmark will write finished downloads
|
||
|
|
- name: ebook-ingress
|
||
|
|
mountPath: /downloads/books
|
||
|
|
volumes:
|
||
|
|
- name: config
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: shelfmark-config-pvc
|
||
|
|
- name: ebook-ingress
|
||
|
|
persistentVolumeClaim:
|
||
|
|
claimName: ebook-pipeline-pvc
|