more postgres updates

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2022-10-08 10:08:58 -05:00
parent c19f88d8cc
commit ce715647b0
3 changed files with 7 additions and 4 deletions

View File

@ -131,7 +131,7 @@
},
"SqlSettings": {
"DriverName": "postgres",
"DataSource": "postgres://mmuser:mostest@localhost/mattermost?sslmode=disable\u0026connect_timeout=10\u0026binary_parameters=yes",
"DataSource": "postgres://mmuser:mmtest@localhost/mattermost?sslmode=disable\u0026connect_timeout=10\u0026binary_parameters=yes",
"DataSourceReplicas": [],
"DataSourceSearchReplicas": [],
"MaxIdleConns": 20,

View File

@ -0,0 +1,4 @@
DROP DATABASE mattermost;
CREATE DATABASE mattermost;
CREATE USER mmuser WITH PASSWORD 'mmpass';
GRANT ALL PRIVILEGES ON DATABASE mattermost to mmuser;

View File

@ -1,5 +1,4 @@
# PostgreSQL Client Authentication Configuration File
# ===================================================
#
# Database administrative login by Unix domain socket
# PostgreSQL Authentication Configuration for Mattermost
#
local all mattermost trust