matrix-media-repo: Fix some deployment issues

This commit is contained in:
Alexander Olofsson 2020-08-10 14:32:09 +02:00
parent ab8782744e
commit b349491ed9
No known key found for this signature in database
GPG key ID: D439C9470CB04C73
3 changed files with 14 additions and 6 deletions

View file

@ -5,7 +5,7 @@ description: Matrix media repository with multi-domain in mind.
appVersion: 1.2.0
type: application
version: 0.1.0
version: 0.1.1
maintainers:
- name: Alexander Olofsson
email: ace@haxalot.com

View file

@ -10,6 +10,9 @@ data:
bindAddress: '0.0.0.0'
port: 8000
logDirectory: '-'
{{- with .Values.extraRepo }}
{{- . | toYaml | nindent 6 }}
{{- end }}
metrics:
enabled: true

View file

@ -40,6 +40,11 @@ config:
# MSC2448:
# enabled: true
## For setting extra parameters on the repo block
##
extraRepo: {}
# useForwardedHost: false
## Per-domain configuration
## Ref: https://github.com/turt2live/matrix-media-repo/blob/master/docs/config.md
##
@ -70,8 +75,8 @@ persistence:
postgresql:
enabled: true
postgresqlUsername: matrix-media-repo
postgresqlDatabase: matrix-media-repo
postgresqlUsername: matrix_media_repo
postgresqlDatabase: matrix_media_repo
persistence:
size: 16G
@ -81,9 +86,9 @@ postgresql:
externalPostgresql:
# host: postgres
port: 5432
username: matrix-media-repo
# password: matrix-media-repo
database: matrix-media-repo
username: matrix_media_repo
# password:
database: matrix_media_repo
# sslMode: require
serviceAccount: