Commit Graph

11 Commits

Author SHA1 Message Date
Pan Luo
4c30235fde
Export vars to fix the postgres container error 2017-01-30 15:57:17 -08:00
Rémi Alvado
1e02b33cd3 fix(deps): fix dependency toward wal-e to avoid issues with Python minimal requirement 2016-10-07 14:52:51 +02:00
Pan Luo
0f4d339b57
Add environment var to allow customize archive timeout 2016-08-16 23:45:54 -07:00
Yi EungJun
808f5af669 db: Make docker-entrypoint1.sh executable
The file should be marked as executable in the container because the
host on which it was built may not support executable bit (e.g.
Microsoft Windows).

This fixes https://github.com/mattermost/mattermost-docker/issues/20.
2016-05-17 19:21:12 +09:00
Pan Luo
97966787dd
Use $PGDATA env var to setup wal-e
$PGDATA is set in upstream postgres dockerfile and should be used in
downstream in case the postgres data directory is changed in the future.
2016-05-08 10:51:16 -07:00
Pan Luo
530e8f0194
Fix #15, WAL in archive mode when backup is off
WAL logs in archive mode will consume a lot more spaces and not useful
when backup is off. This fix add ability to switch WAL logs mode based
on the backup switch.
2016-05-06 23:27:41 -07:00
Pan Luo
ba31a0da79 Add Wal-E backup support 2016-04-20 02:13:36 -07:00
Yi EungJun
1a4839cd96 db: Remove unnecessary blank 2016-04-19 00:48:08 +09:00
Pan Luo
031858fbae Allow db host, name user and password to be configurable 2016-04-15 21:31:28 -07:00
Yi EungJun
57d1d448b2 db: Specify version of pgsql
You may see this error if you use pgsql 9.5 with 9.4 data.

> FATAL:  database files are incompatible with server
> DETAIL:  The data directory was initialized by PostgreSQL version 9.4, which is not compatible with this version 9.5.0.
2016-01-25 12:31:29 +09:00
Yi EungJun
4cf5bdc8c8 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.
2015-11-30 17:54:49 +09:00