Update starlette documentation (#1461)

* Add starlette / docker

* Update Starlette documentation

* Remove starlette docker example

* Revert "Add starlette / docker"

This reverts commit 6cb6d6f10a789c9c6a0adf5e925857be5183009d.

* Partially revert "Update starlette documentation"
This commit is contained in:
Benjamin Webb
2024-01-05 19:32:09 -05:00
committed by GitHub
parent 22ac69aa75
commit 0a47ad28c9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ The basics
The official pygeoapi Docker image will start a pygeoapi Docker container using Gunicorn on internal port 80.
Either ``IMAGE`` can be called with the ``docker`` command, ``geopython/pygeoapi`` from DockerHub or ``ghcr.io/geophython/pygeoapi`` from the GitHub Container Registry. Examples below use ``geopython/pygeoapi``.
Either ``IMAGE`` can be called with the ``docker`` command, ``geopython/pygeoapi`` from DockerHub or ``ghcr.io/geopython/pygeoapi`` from the GitHub Container Registry. Examples below use ``geopython/pygeoapi``.
To run with the default built-in configuration and data:
+1 -1
View File
@@ -270,7 +270,7 @@ It is simple to run using the following command:
.. code-block:: bash
gunicorn pygeoapi.starlette_app:app -w 4 -k uvicorn.workers.UvicornWorker
gunicorn pygeoapi.starlette_app:APP -w 4 -k uvicorn.workers.UvicornH11Worker
.. note::
Uvicorn is as easy to install as ``pip3 install uvicorn``