File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
docs/install/containers/images Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,25 @@ We encourage users of the `Plone` images to familiarize themselves with the opti
4545| ` SECURITY_POLICY_IMPLEMENTATION ` | ` security-policy-implementation ` | ` C ` |
4646| ` VERBOSE_SECURITY ` | ` verbose-security ` | ` false ` |
4747| ` DEFAULT_ZPUBLISHER_ENCODING ` | ` default-zpublisher-encoding ` | ` utf-8 ` |
48+ | ` LISTEN_PORT ` | (no equivalent) | ` 8080 ` |
4849
50+ #### Listen port
51+
52+ By default, the Zope process inside the container will listen on TCP port 8080.
53+ In certain circumstances — Kubernetes or Podman pods — there may be a need to run
54+ more than one Zope process within the network namespace, which would result in
55+ listen port clashes as two different processes within the same namespace attempt
56+ to listen to the same TCP port.
57+
58+ In these cases, the variable ` LISTEN_PORT ` can be set to any particular port above
59+ 1024 to ensure that the container will listen on the desired port.
60+
61+ Plone 6 example:
62+
63+ ``` shell
64+ # Makes Zope listen to port 8081 instead of the default 8080.
65+ docker run -p 8081:8081 -e LISTEN_PORT=8081 plone/plone-backend:{PLONE_BACKEND_VERSION}
66+ ```
4967
5068### Site creation variables
5169
You can’t perform that action at this time.
0 commit comments