Compose and the image
Run the Ratel Platform by hand with Docker Compose, from source, or the image alone.
Docker Compose
git clone https://github.com/ratel-ai/ratel.git
cd ratel
docker compose up -d --waitThis pulls ratelai/ratel at RATEL_VERSION: the value in .env, else the default in docker-compose.yml, which each release sets. Open http://localhost:3000. No configuration is needed.
Port 3000 or 5432 taken? Copy .env.example to .env, set RATEL_PORT and RATEL_DB_PORT, and set BASE_URL to the address you open, such as http://localhost:3950. The console's snippets and the demo's links use BASE_URL.
Build from source
To run your own changes, build from the checkout with the override file:
docker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build --waitOr put COMPOSE_FILE=docker-compose.yml:docker-compose.build.yml in .env. Each docker compose command then uses it.
The image alone
Each release publishes docker.io/ratelai/ratel for linux/amd64 and linux/arm64. Its tags are the version (0.3.0), the minor (0.3) and latest. edge follows main.
The image needs a Postgres 16 database:
docker run -d -p 127.0.0.1:3000:3000 \
-e DATABASE_URL=postgres://ratel:ratel@<db-host>:5432/ratel -e DATABASE_SSL=disable \
-e DATABASE_MIGRATE_ON_BOOT=1 ratelai/ratel:0.3Without APP_ROLE, the one container serves the console and runs the jobs. GET /api/health answers 200 when it is ready. RELEASING.md tells how releases and images are made.
Next
- Send a first trace.
- On a server, protect the console before you open it.