- Fixed database names in INSTALL.md

- added comments for postgresql config in dendrite-config.yaml
This commit is contained in:
dymattic 2020-10-18 20:50:41 +02:00 committed by Dmitrij Pastian
parent 34d741f8e9
commit 8d3ad7fec7

View file

@ -76,6 +76,7 @@ global:
# Naffka database options. Not required when using Kafka. # Naffka database options. Not required when using Kafka.
naffka_database: naffka_database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_naffka
connection_string: file:naffka.db connection_string: file:naffka.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
@ -97,6 +98,7 @@ app_service_api:
listen: http://localhost:7777 listen: http://localhost:7777
connect: http://localhost:7777 connect: http://localhost:7777
database: database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_appservice
connection_string: file:appservice.db connection_string: file:appservice.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
@ -172,6 +174,7 @@ federation_sender:
listen: http://localhost:7775 listen: http://localhost:7775
connect: http://localhost:7775 connect: http://localhost:7775
database: database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_federationsender
connection_string: file:federationsender.db connection_string: file:federationsender.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
@ -198,6 +201,7 @@ key_server:
listen: http://localhost:7779 listen: http://localhost:7779
connect: http://localhost:7779 connect: http://localhost:7779
database: database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_keyserver
connection_string: file:keyserver.db connection_string: file:keyserver.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
@ -211,6 +215,7 @@ media_api:
external_api: external_api:
listen: http://[::]:8074 listen: http://[::]:8074
database: database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_mediaapi
connection_string: file:mediaapi.db connection_string: file:mediaapi.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
@ -247,6 +252,7 @@ room_server:
listen: http://localhost:7770 listen: http://localhost:7770
connect: http://localhost:7770 connect: http://localhost:7770
database: database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_roomserver
connection_string: file:roomserver.db connection_string: file:roomserver.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
@ -258,6 +264,7 @@ signing_key_server:
listen: http://localhost:7780 listen: http://localhost:7780
connect: http://localhost:7780 connect: http://localhost:7780
database: database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_signingkeyserver
connection_string: file:signingkeyserver.db connection_string: file:signingkeyserver.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
@ -287,6 +294,7 @@ sync_api:
external_api: external_api:
listen: http://[::]:8073 listen: http://[::]:8073
database: database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_syncapi
connection_string: file:syncapi.db connection_string: file:syncapi.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
@ -298,11 +306,13 @@ user_api:
listen: http://localhost:7781 listen: http://localhost:7781
connect: http://localhost:7781 connect: http://localhost:7781
account_database: account_database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_userapi_accounts
connection_string: file:userapi_accounts.db connection_string: file:userapi_accounts.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2
conn_max_lifetime: -1 conn_max_lifetime: -1
device_database: device_database:
#For postgres: connection_string: postgresql://user:password@localhost/dendrite_userapi_devices
connection_string: file:userapi_devices.db connection_string: file:userapi_devices.db
max_open_conns: 100 max_open_conns: 100
max_idle_conns: 2 max_idle_conns: 2