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: Better inter-link with Docker docs.

Alex Vandiverb484892bd4b2
diff --git a/docs/production/deployment.md b/docs/production/deployment.md
index e6f80718509..bdf05b951d2 100644
--- a/docs/production/deployment.md
+++ b/docs/production/deployment.md
@@ -39,7 +39,7 @@ our next major release has a reliable install experience.
## Zulip in Docker
In addition to the [standard installer](./install.md), Zulip has an
-[official Docker image](https://github.com/zulip/docker-zulip).
+{doc}`official Docker image <docker:index>`.
We recommend using the Docker image only if your organization has a
preference for deploying services using Docker. Deploying with Docker
diff --git a/docs/production/install.md b/docs/production/install.md
index f2579c7dcd9..cafbad63194 100644
--- a/docs/production/install.md
+++ b/docs/production/install.md
@@ -4,7 +4,7 @@ You can choose from several convenient options for hosting Zulip:
- Follow these instructions to **install a self-hosted Zulip server on a system
of your choice**.
-- Use Zulip's [Docker image](deployment.md#zulip-in-docker).
+- Use Zulip's {doc}`Docker image <docker:index>`
- Use a preconfigured
[DigitalOcean droplet](https://marketplace.digitalocean.com/apps/zulip?refcode=3ee45da8ee26)
- Use [Zulip Cloud](https://zulip.com/plans/) hosting. Read our [guide to choosing between Zulip Cloud and
diff --git a/docs/production/mobile-push-notifications.md b/docs/production/mobile-push-notifications.md
index 0a74800a27e..3c5d6cdb472 100644
--- a/docs/production/mobile-push-notifications.md
+++ b/docs/production/mobile-push-notifications.md
@@ -70,10 +70,11 @@ server as follows:
su zulip -c '/home/zulip/deployments/current/manage.py register_server'
```
- Or if you're using Docker, run:
+ Or if you're {doc}`using Docker <docker:index>`, run:
```
- docker exec -it -u zulip <container_name> /home/zulip/deployments/current/manage.py register_server
+ cd docker-zulip
+ ./manage.py register_server
```
This command will print the registration data it would send to the Mobile
@@ -434,10 +435,11 @@ registration.
su zulip -c '/home/zulip/deployments/current/manage.py register_server --deactivate'
```
- Or if you're using Docker, run:
+ Or if you're {doc}`using Docker <docker:index>`, run:
```
- docker exec -it -u zulip <container_name> /home/zulip/deployments/current/manage.py register_server --deactivate
+ cd docker-zulip
+ ./manage.py register_server --deactivate
```
1. Comment out the
diff --git a/docs/production/modify.md b/docs/production/modify.md
index d70e7ed2d4a..fbfa3bdd3e6 100644
--- a/docs/production/modify.md
+++ b/docs/production/modify.md
@@ -115,18 +115,15 @@ branch, as before.
### Making changes with docker-zulip
-If you are using [docker-zulip][], there are two things that are
-different from the above:
+If you are using {doc}`our Docker image <docker:index>`, there are two
+things that are different from the above:
- Because of how container images work, editing files directly is even
- more precarious, because Docker is designed for working with
- container images and may lose your changes.
+ more precarious, because Docker "boots" from fixed images every
+ time, and restarting the container will your changes.
- Instead of running `upgrade-zulip-from-git`, you will need to use
- the [docker upgrade workflow][docker-zulip-upgrade] to build a
- container image based on your modified version of Zulip.
-
-[docker-zulip]: https://github.com/zulip/docker-zulip
-[docker-zulip-upgrade]: https://github.com/zulip/docker-zulip#upgrading-from-a-git-repository
+ the {doc}`Docker upgrade workflow <docker:how-to/compose-upgrading>`
+ to build a container image based on your modified version of Zulip.
## Applying changes from `main`
diff --git a/docs/production/requirements.md b/docs/production/requirements.md
index 6d9093e8639..e53ed281f31 100644
--- a/docs/production/requirements.md
+++ b/docs/production/requirements.md
@@ -31,7 +31,7 @@ The installer expects Zulip to be the **only thing** running on the
system; it will install system packages with `apt` (like nginx,
PostgreSQL, and Redis) and configure them for its own use. We strongly
recommend using either a fresh machine instance in a cloud provider, a
-fresh VM, [our Docker image][docker-zulip-homepage], or a dedicated
+fresh VM, {doc}`our Docker image <docker:index>`, or a dedicated
machine. If you decide to disregard our advice and use a server that
hosts other services, we can't support you, but [we do have some notes
on issues you'll encounter](install-existing-server.md).
@@ -41,7 +41,7 @@ on issues you'll encounter](install-existing-server.md).
Ubuntu 22.04, Ubuntu 24.04, Debian 12, and Debian 13
are supported for running Zulip in production. You can also
run Zulip on other platforms that support Docker using
-[docker-zulip][docker-zulip-homepage].
+{doc}`our Docker image <docker:index>`.
We recommend installing on the newest supported OS release you're
comfortable with, to save a bit of future work [upgrading the
@@ -56,7 +56,6 @@ sudo add-apt-repository universe
sudo apt update
```
-[docker-zulip-homepage]: https://github.com/zulip/docker-zulip#readme
[upgrade-os]: upgrade.md#upgrading-the-operating-system
[ubuntu-repositories]: https://help.ubuntu.com/community/Repositories/Ubuntu
[enable-universe]: https://help.ubuntu.com/community/Repositories/CommandLine#Adding_the_Universe_and_Multiverse_Repositories
@@ -172,11 +171,11 @@ In the following, we discuss a configuration with at most two types of
servers: application servers (running Django, Tornado, RabbitMQ,
Redis, Memcached, etc.) and database servers. Of the application
server services, Django dominates the resource requirements. One can
-run every service on its own system (as
-[docker-zulip](https://github.com/zulip/docker-zulip) does) but for
-most use cases, there's little scalability benefit to doing so. See
-[deployment options](deployment.md) for details on
-installing Zulip with a dedicated database server.
+run every service on its own system (as {doc}`our Docker deployment
+<docker:index>` does) but for most use cases, there's little
+scalability benefit to doing so. See [deployment
+options](deployment.md) for details on installing Zulip with a
+dedicated database server.
- **Dedicated database**. For installations with hundreds of daily
active users, we recommend using a [remote PostgreSQL
diff --git a/docs/production/system-configuration.md b/docs/production/system-configuration.md
index 45af44c4861..b6e010b473a 100644
--- a/docs/production/system-configuration.md
+++ b/docs/production/system-configuration.md
@@ -132,10 +132,12 @@ memory (currently 3.5GiB) to run a single-server Zulip installation in
the multiprocess mode.
Set explicitly to true or false to override the automatic
-calculation. This override is useful both Docker systems (where the
-above algorithm might see the host's memory, not the container's)
-and/or when using remote servers for postgres, memcached, redis, and
-RabbitMQ.
+calculation. This override is useful for Docker systems, where the
+above algorithm will see the host's memory size, not the container's,
+unless a [memory limit is set][docker-memory-limit], as well as when
+using remote servers for PostgreSQL, memcached, Redis, and RabbitMQ.
+
+[docker-memory-limit]: https://docs.docker.com/reference/compose-file/deploy/#memory
#### `rolling_restart`
diff --git a/docs/production/upgrade.md b/docs/production/upgrade.md
index cc5bfc2ba92..38dbc82d8af 100644
--- a/docs/production/upgrade.md
+++ b/docs/production/upgrade.md
@@ -31,9 +31,9 @@ Business](https://zulip.com/plans/#self-hosted), or reach out to
:::{important}
-Be sure to follow the additional instructions if you're [using
-docker-zulip][docker-upgrade], have [patched Zulip](modify.md), or have
-[modified Zulip-managed configuration
+Be sure to follow the additional instructions if you're {doc}`using
+Docker <docker:how-to/compose-upgrading>`, have [patched
+Zulip](modify.md), or have [modified Zulip-managed configuration
files](#preserving-local-changes-to-service-configuration-files).
:::
@@ -91,8 +91,8 @@ If you run into any issues or need to roll back the upgrade, see the
:::{important}
-If you are upgrading docker-zulip, please follow [these
-instructions](https://github.com/zulip/docker-zulip#upgrading-from-a-git-repository).
+If your deployment is using Docker, please follow {ref}`these
+instructions <docker:how-to/compose-upgrading:upgrading from a git repository>`.
:::
@@ -369,8 +369,6 @@ To upgrade the version of PostgreSQL on the Zulip server:
You should now be able to navigate to the Zulip server's URL and
confirm everything is working correctly.
-[docker-upgrade]: https://github.com/zulip/docker-zulip#upgrading-the-zulip-container
-
## Upgrading the operating system
When you upgrade the operating system on which Zulip is installed