Deploy with docker compose#

Create config file config.yaml as described at configuration.md. The job_root_dir property should be set to /tmp/jobs which is a Docker compose volume.

Store public RSA key for JWT auth in public_key.pem file next to config.yaml.

Start with

docker compose -f deploy/docker-compose.yml up

Web service will running on http://0.0.0.0:8000.

To login to web service you need to generate token and sign it with the private counterpart of the public key.g If you want to generate a token with the docker compose -f deploy/docker-compose.yml exec api bartender generate-token command you should uncomment the private key volume bind in deploy/docker-compose.yml. See configuration.md#authentication.