1
0
Fork 0
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:
biva 2022-06-21 14:54:51 +02:00 committed by GitHub
parent 083a6b98a2
commit 0cd953a6f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,8 +130,8 @@
"IosMinVersion": "" "IosMinVersion": ""
}, },
"SqlSettings": { "SqlSettings": {
"DriverName": "mysql", "DriverName": "postgres",
"DataSource": "__DB_USER__:__DB_PWD__@tcp(localhost:3306)/__DB_NAME__?charset=utf8mb4,utf8", "DataSource": "postgres://__DB_USER__:__DB_PWD__@tcp(localhost:5432)/__DB_NAME__?sslmode=disable&connect_timeout=10",
"DataSourceReplicas": [], "DataSourceReplicas": [],
"DataSourceSearchReplicas": [], "DataSourceSearchReplicas": [],
"MaxIdleConns": 20, "MaxIdleConns": 20,