aboutsummaryrefslogtreecommitdiff
path: root/dendrite-config.yaml
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-11-22 15:46:49 +0000
committerGitHub <noreply@github.com>2017-11-22 15:46:49 +0000
commit9476a266bd4f71b19dd1123a4e2593d8af5f63e5 (patch)
tree82d2c9266210177e35b886d9f328fff011319ef5 /dendrite-config.yaml
parent0d72e34acf1b30727bf368c6201c1f20d1440bcd (diff)
Add database.naffka to example config (#350)
* Add database.naffka to example config * Update dendrite-config.yaml * Add naffka creation to INSTALL
Diffstat (limited to 'dendrite-config.yaml')
-rw-r--r--dendrite-config.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/dendrite-config.yaml b/dendrite-config.yaml
index 9baba8f9..6e232659 100644
--- a/dendrite-config.yaml
+++ b/dendrite-config.yaml
@@ -80,6 +80,7 @@ kafka:
# Naffka can only be used when running dendrite as a single monolithic server.
# Kafka can be used both with a monolithic server and when running the
# components as separate servers.
+ # If enabled database.naffka must also be specified.
use_naffka: false
# The names of the kafka topics to use.
topics:
@@ -97,6 +98,8 @@ database:
server_key: "postgres://dendrite:itsasecret@localhost/dendrite_serverkey?sslmode=disable"
federation_sender: "postgres://dendrite:itsasecret@localhost/dendrite_federationsender?sslmode=disable"
public_rooms_api: "postgres://dendrite:itsasecret@localhost/dendrite_publicroomsapi?sslmode=disable"
+ # If using naffka you need to specify a naffka database
+ # naffka: "postgres://dendrite:itsasecret@localhost/dendrite_naffka?sslmode=disable"
# The TCP host:port pairs to bind the internal HTTP APIs to.
# These shouldn't be exposed to the public internet.