paperless-ai deploy
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 7s
Check with kubeconform / lint (push) Successful in 6s
Auto-update README / Generate README and Create MR (push) Successful in 4s

This commit is contained in:
AB
2026-01-21 16:36:14 +02:00
parent 44ce19b815
commit 5e3be29b7a
2 changed files with 58 additions and 6 deletions

View File

@@ -3,7 +3,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: paperless-ai
namespace: paperless
labels:
app: paperless-ai
spec:
@@ -37,6 +36,25 @@ spec:
limits:
memory: 1024Mi
cpu: 2000m
#livenessProbe:
# httpGet:
# path: /
# port: 8000
# initialDelaySeconds: 30
# periodSeconds: 10
#readinessProbe:
# httpGet:
# path: /
# port: 8000
# initialDelaySeconds: 5
# periodSeconds: 5
#volumeMounts:
# - name: data
# mountPath: /app/data
volumes:
- name: data
persistentVolumeClaim:
claimName: paperless-ai-data
---
apiVersion: v1
kind: Service
@@ -54,3 +72,42 @@ spec:
name: http
selector:
app: paperless-ai
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: paperless-ai-data
namespace: paperless
spec:
accessModes:
- ReadWriteOnce
storageClassName: hostpath
resources:
requests:
storage: 10Gi
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: paperless-ai-ingress
annotations:
ingressClassName: traefik
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
acme.cert-manager.io/http01-edit-in-place: "true"
spec:
rules:
- host: ai-docs.hexor.cy
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: paperless-ai
port:
number: 3000
tls:
- secretName: docs-tls
hosts:
- '*.hexor.cy'

View File

@@ -72,11 +72,6 @@ ingress:
paths:
- path: /
pathType: Prefix
- path: /ai
pathType: Prefix
service:
name: paperless-ai
port: 3000
tls:
- hosts:
- '*.hexor.cy'