apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: restserver
name: restserver
namespace: docspell
spec:
replicas: 1
selector:
matchLabels:
strategy: {}
template:
containers:
- image: docker.io/eikek0/docspell:restserver-v0.17.1
name: docspell
args:
- /etc/docspell/docspell.conf
envFrom:
- configMapRef:
name: docspell-env
- secretRef:
ports:
- containerPort: 7880
livenessProbe:
httpGet:
path: /
port: 7880
initialDelaySeconds: 15
periodSeconds: 10
readinessProbe:
volumeMounts:
- name: config-volume
mountPath: /etc/docspell
volumes:
configMap:
name: docspell-config