mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
Use postgresql instead of file
This commit is contained in:
parent
329d4a1e79
commit
7ec59f4c86
1 changed files with 8 additions and 8 deletions
|
@ -129,7 +129,7 @@ app_service_api:
|
||||||
listen: http://localhost:7777 # Only used in polylith deployments
|
listen: http://localhost:7777 # Only used in polylith deployments
|
||||||
connect: http://localhost:7777 # Only used in polylith deployments
|
connect: http://localhost:7777 # Only used in polylith deployments
|
||||||
database:
|
database:
|
||||||
connection_string: file:appservice.db
|
connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__
|
||||||
max_open_conns: 10
|
max_open_conns: 10
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
@ -201,7 +201,7 @@ federation_api:
|
||||||
external_api:
|
external_api:
|
||||||
listen: http://[::]:8072
|
listen: http://[::]:8072
|
||||||
database:
|
database:
|
||||||
connection_string: file:federationapi.db
|
connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__
|
||||||
max_open_conns: 10
|
max_open_conns: 10
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
@ -242,7 +242,7 @@ key_server:
|
||||||
listen: http://localhost:7779 # Only used in polylith deployments
|
listen: http://localhost:7779 # Only used in polylith deployments
|
||||||
connect: http://localhost:7779 # Only used in polylith deployments
|
connect: http://localhost:7779 # Only used in polylith deployments
|
||||||
database:
|
database:
|
||||||
connection_string: file:keyserver.db
|
connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__
|
||||||
max_open_conns: 10
|
max_open_conns: 10
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
@ -255,7 +255,7 @@ media_api:
|
||||||
external_api:
|
external_api:
|
||||||
listen: http://[::]:8074
|
listen: http://[::]:8074
|
||||||
database:
|
database:
|
||||||
connection_string: file:mediaapi.db
|
connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__
|
||||||
max_open_conns: 5
|
max_open_conns: 5
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
@ -294,7 +294,7 @@ mscs:
|
||||||
# - msc2946 (Spaces Summary, see https://github.com/matrix-org/matrix-doc/pull/2946)
|
# - msc2946 (Spaces Summary, see https://github.com/matrix-org/matrix-doc/pull/2946)
|
||||||
mscs: []
|
mscs: []
|
||||||
database:
|
database:
|
||||||
connection_string: file:mscs.db
|
connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__
|
||||||
max_open_conns: 5
|
max_open_conns: 5
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
@ -305,7 +305,7 @@ room_server:
|
||||||
listen: http://localhost:7770 # Only used in polylith deployments
|
listen: http://localhost:7770 # Only used in polylith deployments
|
||||||
connect: http://localhost:7770 # Only used in polylith deployments
|
connect: http://localhost:7770 # Only used in polylith deployments
|
||||||
database:
|
database:
|
||||||
connection_string: file:roomserver.db
|
connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__
|
||||||
max_open_conns: 10
|
max_open_conns: 10
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
@ -318,7 +318,7 @@ sync_api:
|
||||||
external_api:
|
external_api:
|
||||||
listen: http://[::]:8073
|
listen: http://[::]:8073
|
||||||
database:
|
database:
|
||||||
connection_string: file:syncapi.db
|
connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__
|
||||||
max_open_conns: 10
|
max_open_conns: 10
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
@ -341,7 +341,7 @@ user_api:
|
||||||
listen: http://localhost:7781 # Only used in polylith deployments
|
listen: http://localhost:7781 # Only used in polylith deployments
|
||||||
connect: http://localhost:7781 # Only used in polylith deployments
|
connect: http://localhost:7781 # Only used in polylith deployments
|
||||||
account_database:
|
account_database:
|
||||||
connection_string: file:userapi_accounts.db
|
connection_string: postgres://__DB_USER__:__DB_PWD__@localhost/__DB_NAME__
|
||||||
max_open_conns: 10
|
max_open_conns: 10
|
||||||
max_idle_conns: 2
|
max_idle_conns: 2
|
||||||
conn_max_lifetime: -1
|
conn_max_lifetime: -1
|
||||||
|
|
Loading…
Add table
Reference in a new issue