more postgres updates
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
c19f88d8cc
commit
ce715647b0
|
@ -131,7 +131,7 @@
|
||||||
},
|
},
|
||||||
"SqlSettings": {
|
"SqlSettings": {
|
||||||
"DriverName": "postgres",
|
"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": [],
|
"DataSourceReplicas": [],
|
||||||
"DataSourceSearchReplicas": [],
|
"DataSourceSearchReplicas": [],
|
||||||
"MaxIdleConns": 20,
|
"MaxIdleConns": 20,
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
DROP DATABASE mattermost;
|
||||||
|
CREATE DATABASE mattermost;
|
||||||
|
CREATE USER mmuser WITH PASSWORD 'mmpass';
|
||||||
|
GRANT ALL PRIVILEGES ON DATABASE mattermost to mmuser;
|
|
@ -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
|
local all mattermost trust
|
||||||
|
|
Loading…
Reference in New Issue