4cf5bdc8c8
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.
7 lines
221 B
Bash
7 lines
221 B
Bash
#!/bin/bash
|
|
echo Starting Platform
|
|
sed -Ei "s/PG_ADDR/$PG_PORT_5432_TCP_ADDR/" /config_docker.json
|
|
sed -Ei "s/PG_PORT/$PG_PORT_5432_TCP_PORT/" /config_docker.json
|
|
cd /mattermost/bin
|
|
./platform -config=/config_docker.json
|