add notes on postgresql config
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
1c8af4a82f
commit
4b39fbf83f
|
@ -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
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
||||||
.PHONY: control
|
.PHONY: control
|
||||||
|
|
||||||
VERSION=7.3.0
|
VERSION=7.3.0
|
||||||
MINOR=v7
|
MINOR=v8
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@echo
|
@echo
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
# PostgreSQL Client Authentication Configuration File
|
||||||
|
# ===================================================
|
||||||
|
#
|
||||||
|
# Database administrative login by Unix domain socket
|
||||||
|
local all mattermost trust
|
2
postinst
2
postinst
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue