orlybot
orlybot docsSelf-hosting

Local setup

Run the application and its supporting services locally.

Local setup

The main application uses Bun, Hono, React, Postgres, Valkey, and MinIO.

Prepare the environment

Copy .env.example to .env and replace every development secret before using a shared environment. PUBLIC_APP_URL, DATABASE_URL, and VALKEY_URL are required for the server.

Install and run

bun install
docker compose up
bun run dev

The application runs on port 3000. Start the worker separately when processing background tasks:

bun run worker

Run the public site

The public site is an independent project:

cd site
bun install
bun run dev

It runs on port 3001.

On this page