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 mattermost*tar.gz
files/opt files/opt
DEBIAN/
files/DEBIAN files/DEBIAN
control.tar.xz control.tar.xz
data.tar.xz data.tar.xz

View File

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

View File

@ -131,7 +131,7 @@
}, },
"SqlSettings": { "SqlSettings": {
"DriverName": "postgres", "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": [], "DataSourceReplicas": [],
"DataSourceSearchReplicas": [], "DataSourceSearchReplicas": [],
"MaxIdleConns": 20, "MaxIdleConns": 20,
@ -614,4 +614,4 @@
"Directory": "./export", "Directory": "./export",
"RetentionDays": 30 "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 dropuser jcarr
echo '$ psql -U postgres' echo '$ psql -U postgres'
echo " db> ALTER USER postgres with password 'your-pass';" echo " db> ALTER USER postgres with password 'your-pass';"
echo "su postgres createdb mattermost"
echo "su postgres createuser mmtest"
echo echo