You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/running-with-docker.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,22 +103,22 @@ The base Docker image supports two additional environment variables for configur
103
103
To learn more about the Admin API see :ref:`admin-api`.
104
104
105
105
3. **`CONTAINER_HOST`**:
106
-
This variable sets the listening address for incoming connections. Normally the server is listening on `localhost` (the default), but other values are also possible.
106
+
This variable sets the listening address for incoming connections. Normally the server is listening on ``localhost`` (the default), but other values are also possible.
107
107
108
108
.. code-block:: bash
109
109
110
110
docker run -p 5000:80 -e CONTAINER_HOST=192.168.0.7 -it geopython/pygeoapi
111
111
112
112
4. **`CONTAINER_PORT`**:
113
-
This variable sets the listening port for incoming connections. The default port is `80`; in this example, we change it to `5001`.
113
+
This variable sets the listening port for incoming connections. The default port is ``80``; in this example, we change it to ``5001``.
114
114
115
115
.. code-block:: bash
116
116
117
117
docker run -p 5000:5001 -e CONTAINER_PORT=5001 -it geopython/pygeoapi
118
118
119
119
5. **`WSGI_WORKERS`**:
120
120
121
-
This variable sets the number of workers used by the Gunicorn server, the default being 4.
121
+
This variable sets the number of workers used by the Gunicorn server, the default being ``4``.
122
122
For performance reasons, `it is not recommended to use a high number of workers <https://docs.gunicorn.org/en/latest/design.html#how-many-workers>`_ .
123
123
124
124
.. code-block:: bash
@@ -127,7 +127,7 @@ The base Docker image supports two additional environment variables for configur
127
127
128
128
6. **`WSGI_WORKER_TIMEOUT`**:
129
129
130
-
Gunicorn workers silent for more than the seconds set by this variable are killed and restarted. The default value is `6000`.
130
+
Gunicorn workers silent for more than the seconds set by this variable are killed and restarted. The default value is ``6000``.
0 commit comments