You may be asking 'What is Dockerflow?'
Here's what it's documentation says:
Dockerflow is a specification for automated building, testing and publishing of docker web application images that comply to a common set of behaviours. Compliant images are simpler to deploy, monitor and manage in production.
.. glossary::
environment
Accept its configuration through environment variables.
See: :ref:`Django <django-config>`, :ref:`Flask <flask-config>`, :ref:`Sanic <sanic-config>`
port
Listen on environment variable ``$PORT`` for HTTP requests.
See: :ref:`Django <django-serving>`, :ref:`Flask <flask-serving>`, :ref:`Sanic <sanic-serving>`
version
Must have a JSON version object at ``/app/version.json``.
See: :ref:`Django <django-versions>`, :ref:`Flask <flask-versions>`, :ref:`Sanic <sanic-versions>`
health
* Respond to ``/__version__`` with the contents of /app/version.json
* Respond to ``/__heartbeat__`` with a HTTP 200 or 5xx on error.
This should check backing services like a database for connectivity
* Respond to ``/__lbheartbeat__`` with an HTTP 200.
This is for load balancer checks and should not check backing services.
See: :ref:`Django <django-health>`, :ref:`Flask <flask-health>`, :ref:`Sanic <sanic-health>`
logging
Send text logs to ``stdout`` or ``stderr``. See:
:ref:`Generic <logging>`, :ref:`Django <django-logging>`,
:ref:`Flask <flask-logging>`, :ref:`Sanic <sanic-logging>`
static content
Serve its own static content. See:
:ref:`Django <django-static>`, :ref:`Flask <flask-static>`, :ref:`Flask <sanic-static>`
.. toctree:: :maxdepth: 2 :glob: development authors changelog logging django flask sanic api/index