add notes on postgresql config

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2022-10-08 09:36:46 -05:00
parent 1c8af4a82f
commit 4b39fbf83f
5 changed files with 11 additions and 3 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
mattermost*tar.gz
files/opt
DEBIAN/
files/DEBIAN
control.tar.xz
data.tar.xz

View File

@ -1,7 +1,7 @@
.PHONY: control
VERSION=7.3.0
MINOR=v7
MINOR=v8
help:
@echo

View File

@ -131,7 +131,7 @@
},
"SqlSettings": {
"DriverName": "postgres",
"DataSource": "postgres://mmuser:mostest@localhost/mattermost_test?sslmode=disable\u0026connect_timeout=10\u0026binary_parameters=yes",
"DataSource": "postgres://mmuser:mostest@localhost/mattermost?sslmode=disable\u0026connect_timeout=10\u0026binary_parameters=yes",
"DataSourceReplicas": [],
"DataSourceSearchReplicas": [],
"MaxIdleConns": 20,
@ -614,4 +614,4 @@
"Directory": "./export",
"RetentionDays": 30
}
}
}

View File

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

View File

@ -13,4 +13,6 @@ echo createuser -P -s -e jcarr
echo dropuser jcarr
echo '$ psql -U postgres'
echo " db> ALTER USER postgres with password 'your-pass';"
echo "su postgres createdb mattermost"
echo "su postgres createuser mmtest"
echo