To set it up by hand instead, see Install using Docker Compose.
Install
Run the installer on the server, in the folder where RAGNA Studio should live:
curl -fsSL https://get.ragna.io | shIt creates a ragna-studio folder with:
- the compose files and
postgres-init.sqlof the latest release, .envwith generated secrets and the release pinned asRAGNA_VERSION.
Then it asks for the domains, OAuth client, storage and AI keys, and starts the stack. To read the script first, see Prefer not to run a script from the internet?.
Domains
Enter the public URLs the reverse proxy will serve, for example https://app.example.com and https://api.example.com. The installer sets APP_URL, API_BASE_URL, their public counterparts, TRUSTED_ORIGINS and COOKIE_DOMAIN, see Configuration. The OAuth redirect URI it prints uses the API URL.
If app and API don’t share a parent domain, the installer can’t derive COOKIE_DOMAIN and asks for it to be set by hand.
Change settings later
Edit ragna-studio/.env, then run the installer again from the same folder:
curl -fsSL https://get.ragna.io | shIt keeps the .env and restarts every service whose settings changed.
What starts
The installer runs the base compose file plus docker/docker-compose.selfhost.yml. This override sets the in-network hosts for Postgres, Redis and the webbrowser. It overrides the localhost values from .env.
The stack starts in order:
Data stores
Migrate
migrate applies the schema.Seed
seed adds the model catalog and a starter agent template.Services
migrate and seed run once per start and are idempotent.
The frontend and backend listen on 127.0.0.1 only (ports 3000 and 3010). Put a reverse proxy in front of them.
Stop
docker compose -p ragna_studio downThe data stays in the Docker volumes.