sync-server config: Read from a YAML file rather than hard-coded variables (#53)

This commit is contained in:
Kegsay 2017-03-29 14:09:27 +01:00 committed by GitHub
parent a423008987
commit 2d2c7e7169
3 changed files with 47 additions and 16 deletions

8
sync-server-config.yaml Normal file
View file

@ -0,0 +1,8 @@
# A list of URIs which host Kafka logs.
consumer_uris: ["localhost:9092"]
# The name of the topic which the sync server will consume events from.
roomserver_topic: "roomserverOutput"
# The database URI to store sync server information.
database: "postgres://dendrite:itsasecret@localhost/syncserver?sslmode=disable"