Quick-start
In this guide, we will use Docker Compose to deploy Cryton, its prerequisites, and frontend.
Want more deployment options?
- Installation guide (pip/pipx/Docker)
- Playground (prebuilt Docker infrastructure)
Requirements
- Docker Compose
curl
/wget
- System with 2048 MB of RAM and 2 CPU cores
Download the Compose config file
curl -O https://gitlab.ics.muni.cz/cryton/cryton/-/raw/stable/3/docker-compose.yml
wget https://gitlab.ics.muni.cz/cryton/cryton/-/raw/stable/3/docker-compose.yml
and run it:
docker compose up -d
Cryton's REST API should be accessible at http://127.0.0.1:8000 and frontend at http://127.0.0.1:8080.
If that's not the case, make sure the ports aren't occupied by a different application.
Test the deployment¶
Now we want to test if the CLI, Worker, and Hive are communicating.
Start an interactive shell in the cryton-cli container:
docker compose exec cryton_cli bash
Register the Worker:
cryton-cli workers create worker -d "my local worker for testing"
Check if the Worker is reachable (use the id from the previous command):
cryton-cli workers health-check <id>