fix(docspell): fix solr ulr (#4040)
* fix(docspell): fix solr ulr * enable portal on solr * adjust probes
This commit is contained in:
@@ -23,7 +23,7 @@ sources:
|
|||||||
- https://github.com/apache/solr
|
- https://github.com/apache/solr
|
||||||
- https://hub.docker.com/r/bitnami/solr/
|
- https://hub.docker.com/r/bitnami/solr/
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.61
|
version: 0.0.62
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- search
|
- search
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
# Include{groups}
|
# Include{groups}
|
||||||
|
portals:
|
||||||
|
open:
|
||||||
|
# Include{portalLink}
|
||||||
questions:
|
questions:
|
||||||
# Include{global}
|
# Include{global}
|
||||||
# Include{controller}
|
# Include{controller}
|
||||||
|
|||||||
@@ -137,4 +137,4 @@ env:
|
|||||||
key: "solr-password"
|
key: "solr-password"
|
||||||
|
|
||||||
portal:
|
portal:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ sources:
|
|||||||
- https://github.com/eikek/docspell
|
- https://github.com/eikek/docspell
|
||||||
- https://docspell.org/docs/install/docker/
|
- https://docspell.org/docs/install/docker/
|
||||||
- https://docspell.org/docs/configure/defaults/
|
- https://docspell.org/docs/configure/defaults/
|
||||||
version: 0.0.1
|
version: 0.0.2
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- productivity
|
- productivity
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
# Installation Notes
|
||||||
|
|
||||||
|
When signing up, choose the same name for collective and user.
|
||||||
|
That's a directive coming from Docspell's documentation.
|
||||||
@@ -17,10 +17,9 @@ volumeMounts:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: {{ .Values.service.joex.ports.joex.port }}
|
- containerPort: {{ .Values.service.joex.ports.joex.port }}
|
||||||
name: joex
|
name: joex
|
||||||
{{/* TODO: Find out a path for healthchecks and come back to enable probes
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /api/info/version
|
||||||
port: {{ .Values.service.joex.ports.joex.port }}
|
port: {{ .Values.service.joex.ports.joex.port }}
|
||||||
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.probes.readiness.spec.initialDelaySeconds }}
|
||||||
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.probes.readiness.spec.timeoutSeconds }}
|
||||||
@@ -28,7 +27,7 @@ readinessProbe:
|
|||||||
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
|
failureThreshold: {{ .Values.probes.readiness.spec.failureThreshold }}
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /api/info/version
|
||||||
port: {{ .Values.service.joex.ports.joex.port }}
|
port: {{ .Values.service.joex.ports.joex.port }}
|
||||||
initialDelaySeconds: {{ .Values.probes.liveness.spec.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.probes.liveness.spec.initialDelaySeconds }}
|
||||||
timeoutSeconds: {{ .Values.probes.liveness.spec.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.probes.liveness.spec.timeoutSeconds }}
|
||||||
@@ -36,11 +35,10 @@ livenessProbe:
|
|||||||
failureThreshold: {{ .Values.probes.liveness.spec.failureThreshold }}
|
failureThreshold: {{ .Values.probes.liveness.spec.failureThreshold }}
|
||||||
startupProbe:
|
startupProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /api/info/version
|
||||||
port: {{ .Values.service.joex.ports.joex.port }}
|
port: {{ .Values.service.joex.ports.joex.port }}
|
||||||
initialDelaySeconds: {{ .Values.probes.startup.spec.initialDelaySeconds }}
|
initialDelaySeconds: {{ .Values.probes.startup.spec.initialDelaySeconds }}
|
||||||
timeoutSeconds: {{ .Values.probes.startup.spec.timeoutSeconds }}
|
timeoutSeconds: {{ .Values.probes.startup.spec.timeoutSeconds }}
|
||||||
periodSeconds: {{ .Values.probes.startup.spec.periodSeconds }}
|
periodSeconds: {{ .Values.probes.startup.spec.periodSeconds }}
|
||||||
failureThreshold: {{ .Values.probes.startup.spec.failureThreshold }}
|
failureThreshold: {{ .Values.probes.startup.spec.failureThreshold }}
|
||||||
*/}}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ stringData:
|
|||||||
enabled = true
|
enabled = true
|
||||||
backend = "solr"
|
backend = "solr"
|
||||||
solr = {
|
solr = {
|
||||||
url = {{ printf "http://%v:%v@%v-solr:8983/%v" .Values.solr.solrUsername (.Values.solr.solrPassword | trimAll "\"") .Release.Name .Values.solr.solrCores | quote }}
|
url = {{ printf "http://%v:%v@%v-solr:8983/solr/%v" .Values.solr.solrUsername (.Values.solr.solrPassword | trimAll "\"") .Release.Name .Values.solr.solrCores | quote }}
|
||||||
commit-within = {{ $full_text_search.solr.commit_within }}
|
commit-within = {{ $full_text_search.solr.commit_within }}
|
||||||
log-verbose = {{ $full_text_search.solr.log_verbose }}
|
log-verbose = {{ $full_text_search.solr.log_verbose }}
|
||||||
def-type = {{ $full_text_search.solr.def_type | quote }}
|
def-type = {{ $full_text_search.solr.def_type | quote }}
|
||||||
@@ -566,7 +566,7 @@ stringData:
|
|||||||
enabled = true
|
enabled = true
|
||||||
backend = "solr"
|
backend = "solr"
|
||||||
solr = {
|
solr = {
|
||||||
url = {{ printf "http://%v:%v@%v-solr:8983/%v" .Values.solr.solrUsername (.Values.solr.solrPassword | trimAll "\"") .Release.Name .Values.solr.solrCores | quote }}
|
url = {{ printf "http://%v:%v@%v-solr:8983/solr/%v" .Values.solr.solrUsername (.Values.solr.solrPassword | trimAll "\"") .Release.Name .Values.solr.solrCores | quote }}
|
||||||
commit-within = {{ $full_text_search.solr.commit_within }}
|
commit-within = {{ $full_text_search.solr.commit_within }}
|
||||||
log-verbose = {{ $full_text_search.solr.log_verbose }}
|
log-verbose = {{ $full_text_search.solr.log_verbose }}
|
||||||
def-type = {{ $full_text_search.solr.def_type | quote }}
|
def-type = {{ $full_text_search.solr.def_type | quote }}
|
||||||
|
|||||||
@@ -486,6 +486,17 @@ joex:
|
|||||||
fail_fast: true
|
fail_fast: true
|
||||||
run_timeout: 15 minutes
|
run_timeout: 15 minutes
|
||||||
|
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
type: HTTP
|
||||||
|
path: /api/info/version
|
||||||
|
readiness:
|
||||||
|
type: HTTP
|
||||||
|
path: /api/info/version
|
||||||
|
startup:
|
||||||
|
type: HTTP
|
||||||
|
path: /api/info/version
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user