orlybot
orlybot docsSelf-hosting

Docker deployment

Run the app, worker, and public site as separate services.

Docker deployment

The repository provides Compose files for local and registry-based deployments. Postgres, Valkey, and MinIO are separate services from the application and worker.

Local images

Build all local services with:

docker compose up --build

The app is exposed on port 3000; the public site is exposed on port 3001.

Registry deployment

Set the published images before starting the production Compose file:

$env:ORLY_GORK_IMAGE = "registry.example.com/team/orly-gork:v0.1.0"
$env:ORLYBOT_SITE_IMAGE = "registry.example.com/team/orlybot-site:v0.1.0"
docker compose -f docker-compose.prod.yml up -d

The site image contains only static files and a web server. It has no database, queue, or application secret dependencies.

On this page