Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

docs: Cross-reference Docker equivalents where mechanisms diverge.

Alex Vandiver9b41d4787ae5
diff --git a/docs/production/authentication-methods.md b/docs/production/authentication-methods.md
index dc870420e9a..ac7e9f01c87 100644
--- a/docs/production/authentication-methods.md
+++ b/docs/production/authentication-methods.md
@@ -23,6 +23,16 @@ edit the `AUTHENTICATION_BACKENDS` setting in
`/etc/zulip/settings.py`, as well as any additional configuration your
chosen authentication methods require; then restart the Zulip server.
+:::{important}
+
+If you are using [Docker](docker.md), see
+{doc}`docker:how-to/compose-authentication` for the
+`ZULIP_AUTH_BACKENDS` variable that replaces
+`AUTHENTICATION_BACKENDS`. Other authentication settings on this
+page use standard `SETTING_*` environment variables.
+
+:::
+
If your authentication provider is not supported out-of-the-box, you can
configure [custom authentication backends](#custom-authentication-backends). If
you need help, best-effort community support is available in the [Zulip
diff --git a/docs/production/email-gateway.md b/docs/production/email-gateway.md
index 57f2b4fbf79..f5617bc7fee 100644
--- a/docs/production/email-gateway.md
+++ b/docs/production/email-gateway.md
@@ -40,6 +40,13 @@ Incoming emails are rate-limited, with the following limits:
## Local delivery setup
+:::{important}
+
+If you are using [Docker](docker.md), the container ships with
+port 25 preconfigured; see {doc}`docker:how-to/compose-incoming-email`.
+
+:::
+
Zulip's Puppet configuration provides everything needed to run this
integration; you just need to enable and configure it as follows.
diff --git a/docs/production/email.md b/docs/production/email.md
index 926959117bb..fabab30ffb8 100644
--- a/docs/production/email.md
+++ b/docs/production/email.md
@@ -3,6 +3,15 @@
Zulip needs to be able to send email so it can confirm new users'
email addresses and send notifications.
+:::{important}
+
+If you are using [Docker](docker.md), see
+{doc}`docker:how-to/compose-settings` for `SETTING_EMAIL_*`
+configuration and {doc}`docker:how-to/compose-secrets` for the
+`email_password` secret.
+
+:::
+
## How to configure
1. Identify an outgoing email (SMTP) account where you can have Zulip
diff --git a/docs/production/management-commands.md b/docs/production/management-commands.md
index 25a1896839a..385c532b9bc 100644
--- a/docs/production/management-commands.md
+++ b/docs/production/management-commands.md
@@ -10,6 +10,15 @@ users will need to contact support for situations requiring them.
## Running management commands
+:::{important}
+
+If you are using [Docker](docker.md), management commands are run
+inside the container; see {doc}`docker:how-to/compose-commands` for
+Docker Compose deployments and {doc}`docker:how-to/helm-commands`
+for Helm deployments.
+
+:::
+
Start by logging in as the `zulip` user on the Zulip server. Then run
them as follows:
diff --git a/docs/production/postgresql.md b/docs/production/postgresql.md
index f1839b810d0..f265e90a6e6 100644
--- a/docs/production/postgresql.md
+++ b/docs/production/postgresql.md
@@ -13,6 +13,16 @@ PostgreSQL][upgrade-postgresql] supported by their version of Zulip.
## Separate PostgreSQL database
+:::{important}
+
+If you are using [Docker](docker.md), see
+{doc}`docker:how-to/compose-existing-services` for using an external
+PostgreSQL with Docker Compose, or
+{doc}`docker:how-to/helm-existing-services` for the Helm chart's
+`externalPostgresql` configuration.
+
+:::
+
It is possible to run Zulip against a PostgreSQL database which is not on the
primary application server. There are two possible flavors of this -- using a
managed PostgreSQL instance from a cloud provider, or separating the PostgreSQL
diff --git a/docs/production/reverse-proxies.md b/docs/production/reverse-proxies.md
index cc91190da30..5e898466b14 100644
--- a/docs/production/reverse-proxies.md
+++ b/docs/production/reverse-proxies.md
@@ -45,6 +45,13 @@ its proxy (see the next section), or clients may see infinite redirects.
#### Configuring Zulip to trust proxies
+:::{important}
+
+If you are using [Docker](docker.md), see {ref}`docker:proxies` for
+the equivalent `LOADBALANCER_IPS` / `TRUST_GATEWAY_IP` mechanism.
+
+:::
+
Before placing Zulip behind a reverse proxy, it needs to be configured to trust
the client IP addresses that the proxy reports via the `X-Forwarded-For` header,
and the protocol reported by the `X-Forwarded-Proto` header. This is important
diff --git a/docs/production/scim.md b/docs/production/scim.md
index 44c29786fce..5f966a2ec69 100644
--- a/docs/production/scim.md
+++ b/docs/production/scim.md
@@ -13,6 +13,14 @@ Synchronizing groups via SCIM is currently not supported.
## Server configuration
+:::{important}
+
+If you are using [Docker](docker.md), set `SCIM_CONFIG` via the
+`SETTING_SCIM_CONFIG` environment variable; see
+{doc}`docker:how-to/compose-settings`.
+
+:::
+
The Zulip server-side configuration is straightforward:
1. Pick a client name for your SCIM client. This name is internal to
diff --git a/docs/production/settings.md b/docs/production/settings.md
index 56b8468b2f9..8e2100cb533 100644
--- a/docs/production/settings.md
+++ b/docs/production/settings.md
@@ -13,6 +13,16 @@ configuration of the various services that make up a complete Zulip installation
[realm-admin-docs]: https://zulip.com/help/moving-to-zulip
[user-roles]: https://zulip.com/help/user-roles
+:::{important}
+
+If you are using [Docker](docker.md), see
+{doc}`docker:how-to/compose-settings` for configuring `settings.py`
+via `SETTING_*` environment variables, or
+{doc}`docker:how-to/compose-manual-configuration` to edit it
+directly.
+
+:::
+
## Server settings overview
The Zulip server self-documents more than a hundred settings in the
diff --git a/docs/production/ssl-certificates.md b/docs/production/ssl-certificates.md
index d188e742c59..c98cb2703a7 100644
--- a/docs/production/ssl-certificates.md
+++ b/docs/production/ssl-certificates.md
@@ -7,6 +7,14 @@ Fortunately, since about 2017, new options can make getting and
maintaining a genuine, trusted-by-browsers certificate no longer the
chore (nor expense) that it used to be.
+:::{important}
+
+If you are using [Docker](docker.md), see
+{doc}`docker:how-to/compose-ssl` for the `CERTIFICATES` mechanism,
+or {doc}`docker:how-to/helm-ssl` for Helm's Ingress-based TLS.
+
+:::
+
## Manual install
If you already have an SSL certificate, just install (or symlink) its
diff --git a/docs/production/system-configuration.md b/docs/production/system-configuration.md
index b6e010b473a..8bb1dd275ac 100644
--- a/docs/production/system-configuration.md
+++ b/docs/production/system-configuration.md
@@ -16,6 +16,15 @@ The `zulip-puppet-apply` command will display the configuration
changes it will make and prompt for you to confirm you'd like to make
those changes, before executing them (if you approve).
+:::{important}
+
+If you are using [Docker](docker.md), see
+{doc}`docker:how-to/compose-settings` and
+{doc}`docker:reference/environment-vars` for configuring
+`zulip.conf` via `CONFIG_*` environment variables.
+
+:::
+
### Truthy values
When a setting refers to "set to true" or "set to false", the values
diff --git a/docs/production/troubleshooting.md b/docs/production/troubleshooting.md
index 1074f640084..55588b0feaa 100644
--- a/docs/production/troubleshooting.md
+++ b/docs/production/troubleshooting.md
@@ -55,6 +55,15 @@ on this page includes details about how to fix common issues with Zulip services
## Using supervisorctl
+:::{important}
+
+If you are using [Docker](docker.md), `supervisorctl` runs inside
+the container; see {doc}`docker:how-to/compose-commands` and
+{doc}`docker:how-to/helm-commands` for shell access and log
+retrieval.
+
+:::
+
To see what Zulip-related services are configured to
use Supervisor, look at `/etc/supervisor/conf.d/zulip.conf` and
`/etc/supervisor/conf.d/zulip-db.conf`.
diff --git a/docs/production/upgrade.md b/docs/production/upgrade.md
index 38dbc82d8af..bdc83812550 100644
--- a/docs/production/upgrade.md
+++ b/docs/production/upgrade.md
@@ -322,6 +322,15 @@ include directories you can use, in different [contexts][context]:
## Upgrading PostgreSQL
+:::{important}
+
+If you are using [Docker](docker.md), PostgreSQL is upgraded via
+image bumps rather than the `upgrade-postgresql` script; see
+{doc}`docker:how-to/compose-upgrading` and
+{doc}`docker:reference/versioning`.
+
+:::
+
The major version of PostgreSQL is upgraded separately from the Zulip
server version. Further, the version of PostgreSQL included with a
Zulip server is not linked to that of the host OS; the Zulip installer
@@ -371,6 +380,14 @@ confirm everything is working correctly.
## Upgrading the operating system
+:::{important}
+
+If you are using [Docker](docker.md), the operating system is part
+of the container image and is upgraded with it; the instructions
+below do not apply.
+
+:::
+
When you upgrade the operating system on which Zulip is installed
(e.g., Ubuntu 22.04 to Ubuntu 24.04), you need to take some additional
steps to update your Zulip installation, documented below.
diff --git a/docs/production/upload-backends.md b/docs/production/upload-backends.md
index c6c94ad9f9e..11db1fabb7a 100644
--- a/docs/production/upload-backends.md
+++ b/docs/production/upload-backends.md
@@ -23,6 +23,16 @@ desktop apps.
## S3 backend configuration
+:::{important}
+
+If you are using [Docker](docker.md), see
+{doc}`docker:how-to/compose-settings` for `SETTING_S3_*`
+configuration and {doc}`docker:how-to/compose-secrets` for the
+`s3_key` / `s3_secret_key` secrets. Switching to S3 also keeps
+uploads out of the `/data` volume.
+
+:::
+
Here, we document the process for configuring Zulip's S3 file upload
backend. To enable this backend, you need to do the following: