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
Yi EungJun
a312819f10
Merge pull request #18 from xcompass/wal-fix
...
Fix #15 , WAL in archive mode when backup is off
2016-05-08 21:51:39 +09: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
Yi EungJun
ac0739ad46
README: Embeded travis status image
2016-04-25 00:44:45 +09:00
Yi EungJun
1b1dc3c79b
Support aws beanstalk
2016-04-25 00:36:38 +09:00
Yi EungJun
92e0fd579c
README: s/Requirement/Requirements/
2016-04-25 00:36:01 +09:00
Yi EungJun
f769fb29e0
Merge pull request #11 from xcompass/db-backup
...
Enable database backup through Wal-E
2016-04-21 15:14:50 +09:00
Yi EungJun
9fb62460a8
web: Fix HTTPS redirecting
...
This fixes https://github.com/mattermost/mattermost-docker/issues/12
2016-04-20 22:35:51 +09:00
Pan Luo
ba31a0da79
Add Wal-E backup support
2016-04-20 02:13:36 -07:00
Yi EungJun
56481dc6b1
travis: Display logs after failure
2016-04-20 15:09:16 +09:00
Yi EungJun
7d89531c4a
app: Upgrade to mattermost 2.2.0
2016-04-19 10:57:12 +09:00
Yi EungJun
7d591a39ca
Enable Travis CI
2016-04-19 10:57:12 +09:00
Yi EungJun
1a4839cd96
db: Remove unnecessary blank
2016-04-19 00:48:08 +09:00
Yi EungJun
49c10d44b2
app: Remove unnecessary things
2016-04-19 00:48:08 +09:00
Yi EungJun
b7b44e6ff6
Support installation without SSL certificate
...
Now users should create a symbolic link to docker-compose-ssl.yml if
they want to enable SSL or docker-compose-nossl.yml if not.
Rewrite README to describe this rule.
This fixes https://github.com/mattermost/mattermost-docker/issues/5 .
2016-04-19 00:33:33 +09:00
Yi EungJun
6918117793
Merge pull request #8 from xcompass/configurable-params
...
Allow db host, name user and password to be configurable
2016-04-17 18:47:07 +09:00
Yi EungJun
002f6749df
README: Fix a dead link to Production-Ubuntu.md
...
This fixes https://github.com/mattermost/mattermost-docker/issues/9 .
2016-04-17 18:37:57 +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
483ff9040a
Merge pull request #4 from it33/patch-1
...
Proposed update to v2.1.0
2016-03-21 10:28:53 +09:00
it33
8581c6590a
Proposed update to v2.1.0
2016-03-20 15:49:05 -07:00
Yi EungJun
2452654036
Merge pull request #3 from WildCodeSchool/upgrade-mattermost-2.0
...
app: Upgrade Mattermost to 2.0.0
2016-02-18 09:59:22 +09:00
Emilien
396f52c61b
app: Upgrade Mattermost to 2.0.0
2016-02-18 01:03:45 +01:00
Yi EungJun
18c82ea9c6
app: Fix "Failed to open sql connection" error
...
The app should wait for a moment even after TCP connection to the
database is available.
Rollback a part of ac0b706
.
2016-01-29 15:40:34 +09:00
Yi EungJun
75bb4944ac
app: Use hostname instead of ip for database
2016-01-25 15:46:08 +09:00
Yi EungJun
ac9ce4a2a9
app: Upgrade Mattermost to 1.4.0
2016-01-25 12:31:29 +09:00
Yi EungJun
ac0b7062a3
app: Fix the message to wait for database
...
'echo -n' is useless because the message is not logged until sending a
newline character.
2016-01-25 12:31:29 +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
459e3822ec
web: Comment the configuration for redirecting to 443
2016-01-25 01:42:35 +00:00
Yi EungJun
7c5a13661d
Remove unnecessary server_name
2016-01-25 01:42:07 +00:00
Yi EungJun
105b6e9b22
README: Use 443 port instead of 8065
2016-01-09 14:59:54 +00:00
Yi EungJun
ca8f3f5565
Fix incorrect web port
2016-01-09 03:29:20 +09:00
Yi EungJun
372def9936
Merge pull request #1 from fmaker/master
...
Add trailing backslash to fix "not a directory" error
2016-01-06 10:07:09 +09:00
Frank Maker
586b885473
Add trailing backslash to fix "not a directory" error
...
Running this Dockerfile on Fedora 22 throws a "not a directory" error when it reaches "ADD cert/cert.pem /cert". Adding a backslash to the path resolves the issue.
2016-01-05 11:34:08 -08:00
Yi EungJun
1d596261a5
Upgrade mattermost to 1.3.0
2015-12-17 18:06:11 +09:00
Yi EungJun
1052398af7
Revert some code committed mistakenly at 1374ba5
2015-12-17 18:04:35 +09:00
Yi EungJun
1374ba50e8
Mount the data at ./volumes/app/mattermost/data
2015-12-16 16:26:27 +09:00
Yi EungJun
8de0a04739
Sync container's time with host
2015-12-16 16:25:41 +09:00
Yi EungJun
b4ad7f2119
Wait until database is ready
2015-12-09 18:57:58 +09:00
Yi EungJun
aa1b246388
Add an known issue about misconfigured database connection
2015-12-09 16:58:55 +09:00
Yi EungJun
99c04c7777
Add an known issue that app fails to start
2015-12-04 18:21:12 +09:00
Yi EungJun
3b4792988d
Describe how to remove all data and configs
2015-12-04 18:21:11 +09:00
Yi EungJun
fe68c85a21
Mount the database at ./volumes/db/var/lib/postgresql/data/
2015-12-04 18:16:01 +09:00
Yi EungJun
2d908b3cca
Fix a bug that config.json is not created
...
Do not copy config.json into /matteronst/config directly because:
> Changes to a data volume will not be included when you update an image.
>
> -- https://docs.docker.com/engine/userguide/dockervolumes/
Instead copy config.template.json into the root and generate
/mattermost/config/config.json from the file.
2015-12-04 18:08:13 +09:00
Yi EungJun
c1c06ec5a3
Do not expose ports unnecessarilly.
2015-12-04 17:58:23 +09:00
Yi EungJun
72df442289
Fix loss of settings when 'app' is recreated
2015-12-04 00:40:22 +09:00
Yi EungJun
1461108d12
README: Add known issues
2015-12-04 00:40:11 +09:00
Yi EungJun
1c99770782
Add README and LICENSE
2015-11-30 17:58:11 +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
Yi EungJun
8bab0a6d03
initial commit
2015-11-27 15:44:58 +09:00