homelab-gitops/stirling-pdf/deployment.yaml
gwg313 529cc6f29f
add stirling-pdf
Signed-off-by: gwg313 <gwg313@pm.me>
2026-01-06 13:50:05 -05:00

52 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: stirling-pdf
namespace: stirling-pdf
spec:
replicas: 1
selector:
matchLabels:
app: stirling-pdf
template:
metadata:
labels:
app: stirling-pdf
spec:
containers:
- name: stirling-pdf
image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest
ports:
- containerPort: 8080
env:
- name: DISABLE_ADDITIONAL_FEATURES
value: "false"
- name: LANGS
value: "en_US"
volumeMounts:
- name: training-data
mountPath: /usr/share/tessdata
- name: extra-configs
mountPath: /configs
- name: custom-files
mountPath: /customFiles
- name: logs
mountPath: /logs
- name: pipeline
mountPath: /pipeline
volumes:
- name: training-data
persistentVolumeClaim:
claimName: stirling-training-data
- name: extra-configs
persistentVolumeClaim:
claimName: stirling-extra-configs
- name: custom-files
persistentVolumeClaim:
claimName: stirling-custom-files
- name: logs
persistentVolumeClaim:
claimName: stirling-logs
- name: pipeline
persistentVolumeClaim:
claimName: stirling-pipeline