Marc Becker
4075f0f922
Installing missing package pv ( #443 )
...
I tried to use wal-e as mentioned on dockerhub (see https://hub.docker.com/r/mattermost/mattermost-prod-db ). To do the base backup I had to do some additional steps (see https://github.com/mattermost/mattermost-docker/issues/346 ):
- mount a volume into the database docker container (path in the container is /etc/wal-e.d/env) and put all credentials and the s3 prefix to this folder
- exec into the container and create a superuser (Command: CREATE USER postgres SUPERUSER;)
Now it still fails with the message, that the package *pv* is missing
2020-01-14 18:25:53 +01:00
Victor Yang
3ff54bc90f
fix S3 wal-e support ( #324 )
...
* fix S3 wal-e support
2018-10-29 12:00:20 +01:00
Kyâne Pichou
94c09b61a0
Fix database HEALTHCHECK with correct user/db name ( #330 )
...
Closes #325
2018-10-17 20:30:46 +02:00
Kyâne Pichou
42e8e07c3f
Fix database healthcheck ( #318 )
...
Because the PostgreSQL user is not always "postgres", do not specify a
user to the Healthcheck command. It will also works correctly.
Closes #313
2018-10-04 09:32:02 +02:00
antoineHC
f79bbea7a4
Production Hardening ( #241 )
2018-04-15 19:33:49 +02:00
Kyâne Pichou
bfb3a77f9a
Change pip install on DB image ( #257 )
2018-04-15 00:34:49 +02:00
3_1_3_u
4e242572f1
Images Postgres Alpine, optimization ( #207 )
2018-02-26 16:43:54 +01:00
Kyâne Pichou
5cc50eb522
Use best practices for Dockerfiles ( #180 )
2017-10-13 14:12:30 +02:00
FingerLiu
bd49394e75
add libffi-dev
2017-05-31 11:40:12 +08:00
FingerLiu
307cf8f10a
fix build error on Ubuntu 14.04
...
libssl-dev is needed to be installed on Ubuntu or the build won't be succeed.
2017-05-24 14:41:55 +08:00
nikosch86
142b766cde
make use of postgres image db init script, use their variable naming … ( #100 )
...
* make use of postgres image db init script, use their variable naming scheme, make setup-wale executable so it can actually run
2017-02-23 13:32:24 -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
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
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
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