|
|
|
@ -223,7 +223,7 @@ federation_api:
|
|
|
|
|
external_api:
|
|
|
|
|
listen: http://0.0.0.0:8072
|
|
|
|
|
database:
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_federationapi_database }}?sslmode=disable
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_federation_api_database }}?sslmode=disable
|
|
|
|
|
max_open_conns: 10
|
|
|
|
|
max_idle_conns: 2
|
|
|
|
|
conn_max_lifetime: -1
|
|
|
|
@ -266,7 +266,7 @@ key_server:
|
|
|
|
|
listen: http://0.0.0.0:7779
|
|
|
|
|
connect: http://key_server:7779
|
|
|
|
|
database:
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_keyserver_database }}?sslmode=disable
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_key_server_database }}?sslmode=disable
|
|
|
|
|
max_open_conns: 10
|
|
|
|
|
max_idle_conns: 2
|
|
|
|
|
conn_max_lifetime: -1
|
|
|
|
@ -279,7 +279,7 @@ media_api:
|
|
|
|
|
external_api:
|
|
|
|
|
listen: http://0.0.0.0:8074
|
|
|
|
|
database:
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_mediaapi_database }}?sslmode=disable
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_media_api_database }}?sslmode=disable
|
|
|
|
|
max_open_conns: 10
|
|
|
|
|
max_idle_conns: 2
|
|
|
|
|
conn_max_lifetime: -1
|
|
|
|
@ -342,7 +342,7 @@ sync_api:
|
|
|
|
|
external_api:
|
|
|
|
|
listen: http://0.0.0.0:8073
|
|
|
|
|
database:
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_syncapi_database }}?sslmode=disable
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_sync_api_database }}?sslmode=disable
|
|
|
|
|
max_open_conns: 10
|
|
|
|
|
max_idle_conns: 2
|
|
|
|
|
conn_max_lifetime: -1
|
|
|
|
@ -376,7 +376,7 @@ user_api:
|
|
|
|
|
listen: http://0.0.0.0:7781
|
|
|
|
|
connect: http://user_api:7781
|
|
|
|
|
account_database:
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_userapi_database }}?sslmode=disable
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_user_api_database }}?sslmode=disable
|
|
|
|
|
max_open_conns: 10
|
|
|
|
|
max_idle_conns: 2
|
|
|
|
|
conn_max_lifetime: -1
|
|
|
|
@ -385,7 +385,7 @@ user_api:
|
|
|
|
|
# is considered to be valid in milliseconds.
|
|
|
|
|
# The default lifetime is 3600000ms (60 minutes).
|
|
|
|
|
# openid_token_lifetime_ms: 3600000
|
|
|
|
|
auto_join_rooms: {{ matrix_dendrite_userapi_auto_join_rooms | to_json }}
|
|
|
|
|
auto_join_rooms: {{ matrix_dendrite_user_api_auto_join_rooms | to_json }}
|
|
|
|
|
|
|
|
|
|
# Not in dendrite-config.yaml, but is in build/docker/config/dendrite.yaml
|
|
|
|
|
# Configuration for the Push Server API.
|
|
|
|
@ -394,7 +394,7 @@ push_server:
|
|
|
|
|
listen: http://localhost:7782
|
|
|
|
|
connect: http://localhost:7782
|
|
|
|
|
database:
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_pushserver_database }}?sslmode=disable
|
|
|
|
|
connection_string: {{ matrix_dendrite_database_str }}/{{ matrix_dendrite_push_server_database }}?sslmode=disable
|
|
|
|
|
max_open_conns: 10
|
|
|
|
|
max_idle_conns: 2
|
|
|
|
|
conn_max_lifetime: -1
|
|
|
|
|