Docker
This project can executed with docker
.
Building
To build the Docker image run (from the root directory of this repository):
docker build -t local/yaml2rss .
Running
Then, to run it:
docker run \
--rm \
--name yaml2rss \
-p 8000:8000 \
-e ENV_VAR=value \
-it \
local/yaml2rss
For the list of required environment variables check Getting started.
You can then access the HTTP API at http://localhost:8000.
If WEB_CONCURRENCY
is not set, the number of workers will be two times
the number of CPU cores/threads.
The environment variables from tiangolo/uvicorn-gunicorn-fastapi are also supported.
Last update:
2022-01-23