Archived
Docker for mattermost in production
1. Put cert.pem into web/cert and key-no-password.pem into web/cert/private. 2. docker-compose up -d The settings of the servers are based on https://github.com/mattermost/platform/blob/master/doc/install/Production-Ubuntu.md. app/config_docker.json is based on https://raw.githubusercontent.com/mattermost/platform/master/config/config.json.
This commit is contained in:
1 parent
8bab0a6d03
commit
4cf5bdc8c8
9 files changed
+215
No files matched your search
@@ -0,0 +1,4 @@
|
||||
FROM postgres
|
||||
|
||||
ADD make_db.sh /docker-entrypoint-initdb.d/
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
export PGUSER=postgres
|
||||
psql <<- EOSQL
|
||||
CREATE DATABASE mattermost;
|
||||
CREATE USER mmuser WITH PASSWORD 'mmuser_password';
|
||||
GRANT ALL PRIVILEGES ON DATABASE mattermost to mmuser;
|
||||
EOSQL
|
||||
Reference in new issue
Block a user