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 appVersion: 1.2.0
type: application type: application
version: 0.1.0 version: 0.1.1
maintainers: maintainers:
- name: Alexander Olofsson - name: Alexander Olofsson
email: ace@haxalot.com email: ace@haxalot.com

View file

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

View file

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