Add postgres as an optional dependency

This commit is contained in:
Tulir Asokan
2019-10-23 22:53:48 +03:00
parent c919a1762b
commit a0f12a2c48
5 changed files with 27 additions and 8 deletions
+10 -7
View File
@@ -45,16 +45,19 @@ homeserver:
# Only applies if address starts with https://
verifySSL: true
postgresql:
enabled: true
postgresqlDatabase: mxtg
persistence:
size: 8Gi
resources:
requests:
memory: 256Mi
cpu: 100m
# Application service host/registration related details
# Changing these values requires regeneration of the registration.
appservice:
# The full URI to the database. SQLite and Postgres are fully supported.
# Other DBMSes supported by SQLAlchemy may or may not work.
# Format examples:
# SQLite: sqlite:///filename.db
# Postgres: postgres://username:password@hostname/dbname
database: postgres://username:password@hostname/dbname
# The maximum body size of appservice API requests (from the homeserver) in mebibytes
# Usually 1 is enough, but on high-traffic bridges you might need to increase this to avoid 413s
maxBodySize: 1