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:
@@ -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:
|
||||
|
||||
|
||||
@@ -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``
|
||||
|
||||
Reference in New Issue
Block a user