diff --git a/conf/dendrite.yaml b/conf/dendrite.yaml index c2a80c8..06de6b0 100644 --- a/conf/dendrite.yaml +++ b/conf/dendrite.yaml @@ -129,7 +129,7 @@ app_service_api: listen: http://localhost:7777 # Only used in polylith deployments connect: http://localhost:7777 # Only used in polylith deployments database: - connection_string: file:appservice.db + connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__ max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -201,7 +201,7 @@ federation_api: external_api: listen: http://[::]:8072 database: - connection_string: file:federationapi.db + connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__ max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -242,7 +242,7 @@ key_server: listen: http://localhost:7779 # Only used in polylith deployments connect: http://localhost:7779 # Only used in polylith deployments database: - connection_string: file:keyserver.db + connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__ max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -255,7 +255,7 @@ media_api: external_api: listen: http://[::]:8074 database: - connection_string: file:mediaapi.db + connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__ max_open_conns: 5 max_idle_conns: 2 conn_max_lifetime: -1 @@ -294,7 +294,7 @@ mscs: # - msc2946 (Spaces Summary, see https://github.com/matrix-org/matrix-doc/pull/2946) mscs: [] database: - connection_string: file:mscs.db + connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__ max_open_conns: 5 max_idle_conns: 2 conn_max_lifetime: -1 @@ -305,7 +305,7 @@ room_server: listen: http://localhost:7770 # Only used in polylith deployments connect: http://localhost:7770 # Only used in polylith deployments database: - connection_string: file:roomserver.db + connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__ max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -318,7 +318,7 @@ sync_api: external_api: listen: http://[::]:8073 database: - connection_string: file:syncapi.db + connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__ max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1 @@ -341,7 +341,7 @@ user_api: listen: http://localhost:7781 # Only used in polylith deployments connect: http://localhost:7781 # Only used in polylith deployments account_database: - connection_string: file:userapi_accounts.db + connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__ max_open_conns: 10 max_idle_conns: 2 conn_max_lifetime: -1