Tobias Brunner
1f8d469f63
All checks were successful
continuous-integration/drone/push Build is passing
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: restserver
|
|
name: restserver
|
|
namespace: docspell
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: restserver
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: restserver
|
|
spec:
|
|
containers:
|
|
- image: docker.io/eikek0/docspell:restserver-LATEST
|
|
name: docspell
|
|
args:
|
|
- /etc/docspell/docspell.conf
|
|
env:
|
|
- name: TZ
|
|
value: Europe/Berlin
|
|
- name: DOCSPELL_HEADER_VALUE
|
|
value: "none"
|
|
- name: DB_TYPE
|
|
value: postgresql
|
|
- name: DB_HOST
|
|
value: postgres
|
|
- name: DB_PORT
|
|
value: "5432"
|
|
- name: DB_NAME
|
|
value: docspell
|
|
- name: DB_USER
|
|
value: docspell
|
|
- name: DB_PASS
|
|
value: jQbslGY72R8aqDxqet5ypKLvjrfmK1
|
|
- name: BASE_URL
|
|
value: docs.tobru.ch
|
|
- name: SOLR_RECREATE_KEY
|
|
value: hX2hJ3N8o3kayqE4jL0HVDrS3uNj8B
|
|
ports:
|
|
- containerPort: 7880
|
|
volumeMounts:
|
|
- name: config-volume
|
|
mountPath: /etc/docspell
|
|
volumes:
|
|
- name: config-volume
|
|
configMap:
|
|
name: docspell-config
|