This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
gitops-tbrnt/docspell/restserver/deployment.yaml
Renovate Bot c777321286
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Update docker.io/docspell/restserver Docker tag to v0.39.0
2022-11-08 17:44:53 +00:00

51 lines
1.1 KiB
YAML

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