From a1f09bdc4e4f973b647758a851cc0e9f854dfde2 Mon Sep 17 00:00:00 2001
From: Felix Eckhofer <felix@eckhofer.com>
Date: Tue, 22 Feb 2022 21:06:28 +0100
Subject: [PATCH] Clarify description of PAPERLESS_PORT

---
 docs/configuration.rst | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/docs/configuration.rst b/docs/configuration.rst
index a91ecfece..90c5918c8 100644
--- a/docs/configuration.rst
+++ b/docs/configuration.rst
@@ -700,8 +700,13 @@ PAPERLESS_WEBSERVER_WORKERS=<num>
     Defaults to 2.
 
 PAPERLESS_PORT=<port>
-    The port number the webserver will listen on. Change the port if it collides
-    with other services in your setup.
+    The port number the webserver will listen on inside the container. There are
+    special setups where you may need this to avoid collisions with other
+    services (like using podman with multiple containers in one pod).
+
+    Don't change this when using Docker. To change the port the webserver is
+    reachable outside of the container, instead refer to the "ports" key in
+    ``docker-compose.yml``.
 
     Defaults to 8000.