The most common ways to deploy Efesto are by using a WSGI server of your choice (suchs as gunicorn or uwsgi) or by using the available docker images.
If you are using a WSGI server, all you need to do is to set the options in the enviroment.
Efesto can be found as docker image under
strangemachines/efesto. The images
use gunicorn as WSGI server.
To facilitate docker-based deployments and allow passing options to gunicorn, there are a number of additional environment options available.
When given, a superuser with the given name will be created.
The BLUEPRINT environment variable is a way to pass to the efesto container the blueprint that you want to use, instead of having to load that manually.
It's common to set this value with
export BLUEPRINT=$(cat <your-blueprint>)
The port on which gunicorn will run. Defaults to
How many workers should gunicorn use. Defaults to
The class of the gunicorn workers. Defaults to
sync. Can be
meinheld. Meinheld requires the specific build.
When set, it will also install the worker with
How many threads should gunicorn use. Defaults to
The timeout before a worker is restarted. It's passed to both
--graceful-timeout. Defaults to
Gunicorn jitter to randomize workers timeout time. Defaults to
$WORKERS * 5.