Skip to content

Commit fdaa211

Browse files
committed
.
1 parent b2bc4f4 commit fdaa211

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docker.rst

+1
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ Commands
326326
Also, we can use ``docker container ls --format "table {{.ID}}\t{{.Names}}\t{{.Ports}}" -a`` to list all container ports
327327

328328
**Networks**
329+
329330
+----------------------------------------+----------------------------------------------------------------------+
330331
| ``docker network ls`` | list all networks |
331332
+----------------------------------------+----------------------------------------------------------------------+

fastapi.rst

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ If we run from the terminal, with the app residing in example.py.
3535
uvicorn example:app --host='0.0.0.0' --port=5000
3636
3737
38+
The documentation recommends that we use gunicorn which have richer features
39+
to better control over the workers processes.
40+
41+
.. code:: bash
42+
43+
gunicorn app:app --bind 0.0.0.0:5000 -w 1 --log-level debug -k uvicorn.workers.UvicornWorker
44+
3845
Request-Response Schema
3946
-------------------------
4047

0 commit comments

Comments
 (0)