mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
config.json for PostgreSQL
Inspired from the original MySQL config.json and from Mattermost documentation https://docs.mattermost.com/install/install-debian.html#install-postgresql-database-server
This commit is contained in:
parent
083a6b98a2
commit
0cd953a6f5
1 changed files with 2 additions and 2 deletions
|
@ -130,8 +130,8 @@
|
|||
"IosMinVersion": ""
|
||||
},
|
||||
"SqlSettings": {
|
||||
"DriverName": "mysql",
|
||||
"DataSource": "__DB_USER__:__DB_PWD__@tcp(localhost:3306)/__DB_NAME__?charset=utf8mb4,utf8",
|
||||
"DriverName": "postgres",
|
||||
"DataSource": "postgres://__DB_USER__:__DB_PWD__@tcp(localhost:5432)/__DB_NAME__?sslmode=disable&connect_timeout=10",
|
||||
"DataSourceReplicas": [],
|
||||
"DataSourceSearchReplicas": [],
|
||||
"MaxIdleConns": 20,
|
||||
|
|
Loading…
Add table
Reference in a new issue