feat(funkwhale): Add an ability to choose Redis db
This commit is contained in:
parent
346a3a16a0
commit
9584cc317c
2 changed files with 3 additions and 1 deletions
|
@ -71,7 +71,7 @@ Create the correct image tag name
|
||||||
{{- else if .Values.redis.enabled -}}
|
{{- else if .Values.redis.enabled -}}
|
||||||
redis://:{{ .Values.redis.auth.password }}@{{ template "funkwhale.redis.host" . }}:{{ .Values.redis.master.service.port | default 6379 }}/0
|
redis://:{{ .Values.redis.auth.password }}@{{ template "funkwhale.redis.host" . }}:{{ .Values.redis.master.service.port | default 6379 }}/0
|
||||||
{{- else if .Values.redis.host -}}
|
{{- else if .Values.redis.host -}}
|
||||||
redis://:{{ .Values.redis.auth.password }}@{{ .Values.redis.host }}:{{ .Values.redis.master.service.port | default 6379 }}/0
|
redis://:{{ .Values.redis.auth.password }}@{{ .Values.redis.host }}:{{ .Values.redis.master.service.port | default 6379 }}/{{ .Values.redis.database }}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ fail "Either redis.enabled or redis.host are required!" }}
|
{{ fail "Either redis.enabled or redis.host are required!" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -84,6 +84,8 @@ redis:
|
||||||
|
|
||||||
## External Redis hostname or IP
|
## External Redis hostname or IP
|
||||||
# host: redis.example.com
|
# host: redis.example.com
|
||||||
|
## Name of the redis database funkwhale should connect to
|
||||||
|
database: 0
|
||||||
|
|
||||||
auth:
|
auth:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in a new issue