Commit Graph

646 Commits

Author SHA1 Message Date
Tim Abbott
d83d05eaf6 Update versions for Zulip Server 2.1.0. 2.1.0-0 2019-12-12 22:37:23 -08:00
Tim Abbott
ff3d76ce6a Update versions for Zulip Server 2.0.7. 2.0.8-0 2019-12-12 17:35:17 -08:00
Anders Kaseorg
e471b37eee Finish updating versions for Zulip Server 2.0.7.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-12-01 23:24:26 -08:00
Tim Abbott
28f54809d3 Update versions for Zulip Server 2.0.7. 2.0.7-0 2019-11-21 10:29:56 -08:00
Tim Abbott
997e0d23ca Update versions for Zulip Server 2.0.6. 2.0.6-0 2019-11-08 17:05:00 -08:00
Cybernick
cf8749c9c6 Added AUTH_LDAP_REVERSE_EMAIL_SEARCH as array to match #11715 issue changes 2019-10-30 16:09:08 -07:00
Tim Abbott
f8d277d615 Update versions for Zulip Server 2.0.5. 2.0.5-0 2019-09-11 16:40:43 -07:00
Anders Kaseorg
8fd954b2cd Switch zulip-postgresql tag from latest to 10.
I’ve added a 10 tag to zulip-postgresql, current pointing to the same
image as latest.  Since upgrading to a new major version requires a
manual migration, we shouldn’t encourage it to happen automatically.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-08-29 16:41:39 -07:00
Anders Kaseorg
4be9b8eafe Dockerfile: Upgrade to Ubuntu 18.04 bionic; general cleanup.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-08-21 16:25:56 -07:00
Anders Kaseorg
668198d6eb circleci: Run ShellCheck.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-06-20 11:31:16 -07:00
Tim Abbott
78ec8e8d3d Release docker-zulip 2.0.4-1.
This release is being done because 2.0.4-0 was incorrectly build off
the wrong commit in zulip/zulip (due to a mispushed tag), and has
about 1000 commits of development from master in it.

Pushing this will fix the situation for folks who are doing new
installations; we recommend folks running 2.0.4-0 not upgrade.

Fixes #201.
2.0.4-1
2019-06-19 15:50:16 -07:00
Anders Kaseorg
520f81ff30 entrypoint.sh: Fix ShellCheck warning introduced by #199.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-06-19 15:47:23 -07:00
Tim Abbott
fc83b6d378 Update versions for Zulip Server 2.0.4. 2.0.4-0 2019-06-06 21:53:10 -07:00
Philip Arndt
611a7b0631 backups: Complain if legacy backups directory doesn't exist.
Currently this conditional results in `exit 1` when the backups
directory does exist.  This change flips the logic to complain
when there are no backup files which, based on the error message,
is the intended result.
2019-06-03 17:30:30 -07:00
Tim Abbott
a8ed936e82 Update versions for Zulip Server 2.0.3. 2.0.3-0 2019-04-23 15:10:18 -07:00
Tim Abbott
3d3a5532d3 README: Update recommendations on memory.
Apparently going with low memory only really works on Linux, not OSX.
So let's just increase the recommendations for everyone.
2019-03-17 21:17:16 -07:00
Tim Abbott
69321dd587 docker-compose: Update image entries for Zulip 2.0.2. 2019-03-17 21:13:28 -07:00
Tim Abbott
d64bbe80d0 Update versions for Zulip 2.0.2. 2.0.2-0 2019-03-15 11:57:20 -07:00
Tim Abbott
0a3e862f31 Update versions for Zulip 2.0.1. 2.0.1-0 2019-03-11 17:52:18 -07:00
Anders Kaseorg
c82b02aa16 entrypoint: Update for incompatible change to setup-certbot usage
https://github.com/zulip/zulip/pull/10699

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-03-11 17:48:34 -07:00
Tim Abbott
4f5d3e85b8 Update versions for Zulip 2.0. 2.0.0-0 2019-03-01 15:08:56 -08:00
Tim Abbott
53c3f5cc1a Use explicit variables for postgres/rabbitmq passwords.
This replaces the old default constants of `zulip`, which could be
confused with the usernames (etc.), and adds some more explanatory
comments.
2019-02-26 11:24:35 -08:00
Tim Abbott
db536a6f0a Add inline comments documenting password change behavior.
Fixes #184.
2019-02-26 11:24:31 -08:00
Anders Kaseorg
292cdcbfba Persist /etc/letsencrypt to the zulip data volume.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-02-24 11:35:07 -08:00
Tim Abbott
bdb4270566 README: Fix additional SETTINGS_ -> SETTING_ typo. 2019-01-14 15:16:08 -08:00
Michele Locati
6a59e72bd5 README: SETTING_EMAIL_ instead of SETTINGS_EMAIL_ 2019-01-11 13:48:00 -08:00
Anders Kaseorg
2acd34b212 Add trailing newline to /etc/cron.d/autobackup.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-12-12 17:34:24 -08:00
Anders Kaseorg
fca0be8338 entrypoint.sh: Shell script cleanup; fix ShellCheck warnings.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-12-11 17:52:59 -08:00
Anders Kaseorg
b471a8271b Fix /etc/cron.d/autobackup.
The previous code wrote

    MAILTO=\n30 3 * * * cd /;/entrypoint.sh app:backup

(with a literal backslash n).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-12-11 17:26:54 -08:00
Anders Kaseorg
3772b29238 Increase zulip nofile limit to 40000 soft, 50000 hard.
To match zulip/puppet/zulip/files/limits.conf,
zulip/puppet/zulip/files/supervisor/supervisord.conf.  Otherwise we
inherit the Docker daemon’s limits, which are too small when Docker is
installed as a snap.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-12-04 17:27:26 -08:00
Anders Kaseorg
c8f5aa264d Run generate_secrets.py unconditionally.
We may need to populate newly added secrets when upgrading Zulip.

Fixes #163.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2018-12-04 13:21:51 -08:00
Harmen
2cef6c8a57 README: Fix typo. 2018-11-19 19:36:04 -08:00
Andrey L
dc556300be Fix typo in Docker image tag. 2018-11-12 10:29:40 -08:00
nil4
6b7fc12ac5 Fix 1.9.0-0 tag in upgrade instructions.
Fix Readme.md with the correct `docker pull` tag for 1.9.0-0.
2018-11-12 10:29:07 -08:00
Tim Abbott
f51944994f docker: Release 1.9.0-0. 1.9.0-0 2018-11-07 14:01:35 -08:00
Tim Abbott
b29da95039 README: Fix documentation for rotating postgres/rabbitmq passwords.
Apparently, it's kinda a pain to modify the passwords for
rabbitmq/postgres, so document that fact.

A nice v2 would be to link to docs for exactly how to rotate these
passwords.
2018-10-31 16:40:29 -07:00
Lưu Danh, Hiếu
4702b1aef2 Update README.md to fix "SETTINGS_" (should be "SETTING_").
This took me 30min ... "SETTINGS_EXTERNAL_HOST" is wrong, and will lead to problems. The correct one used in entrypoint.sh is "SETTING_EXTERNAL_HOST" with no 'S', same goes for other settings.
2018-10-18 16:07:44 -07:00
Tim Abbott
80e41d0ca5 docker: Release 1.9.0-rc2-0.
This includes a few recent fixes to the Docker image, as well as a
newer release candidate of Zulip itself.
1.9.0-rc2-0
2018-08-31 16:31:14 -07:00
Tim Abbott
a1ff3938ca entrypoint: Initialize settings.py files with the template.
This fixes a bug introduced in
62bf74190b, where the template
settings.py content wasn't being put in place properly.

The previous model meant that if the user exported the settings.py
file to the data directory, we'd end up appending various versions of
the users' configuration to it over time.

While those users should have been using the MANUAL_CONFIGURATION
setting, this at least is a much cleaner model for managing configuration.

Fixes #130.
Fixes #153.
Fixes #155.
2018-08-31 11:45:23 -07:00
xificurC
30f518c2ee Dockerfile: Install crudini.
The first container doesn't install it and fails when using the
CUSTOM_CA_CERTIFICATES environment variable.
2018-08-31 11:00:10 -07:00
Peter Nagy
0dc18f7ba2 README: Fix path to persistent data. 2018-08-30 11:10:18 -07:00
xificurC
edbc1522bd Dockerfile: Use bash in both stages of the Dockerfile. 2018-08-30 11:08:56 -07:00
Tim Abbott
4f9391becb docker: Release 1.9.0-rc1-2. 1.9.0-rc1-2 2018-08-27 11:58:03 -07:00
Tim Abbott
f874136af1 entrypoint: Remove references to ZULIP_AUTO_GENERATE_CERTS. 2018-08-23 13:30:42 -07:00
Tim Abbott
1190873d0f entrypoint: Remove unnecessary directory creation logging. 2018-08-23 13:16:56 -07:00
Tim Abbott
62bf74190b Dockerfile: Delete build-time settings and secrets files.
Since these files are intended to be automatically generated by
entrypoint.sh at container startup time, these files are at best
useless and at worst could result in users ending up with copies of
the secrets generated when the Docker image they were using was built.
2018-08-23 13:16:56 -07:00
Tim Abbott
f61b48b96f entrypoint: Remove obsolete RabbitMQ configuration.
The ignore option was removed a long time ago, and the settings style
variable for RabbitMQ is very old backwards-compatibility code that is
no longer needed.
2018-08-23 13:09:28 -07:00
Tim Abbott
b2bb979b4e yaml: Use single quotes in environment variables.
Single quotes in YAML have fewer situations where escaping is relevant
than double-quotes, which means using them as the default will help
prevent users from running into escaping issues.
2018-08-23 13:01:29 -07:00
Tim Abbott
78480d4de5 secrets: Use crudini to edit secrets file.
Using an actual tool designed to do this is a lot more robust and
fixes some nasty escaping issues involving secrets containing `~` that
were reported in #143.
2018-08-23 12:53:21 -07:00
Tim Abbott
2f23841919 docker: Release 1.9.0-rc1-1. 1.9.0-rc1-1 2018-08-23 12:17:13 -07:00