> ## Documentation Index
> Fetch the complete documentation index at: https://project-brain.rocheaiops.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployment

> Scope deployment to the isolated Compose project and validate health before acceptance.

The application deploys as the `project-brain` Compose project under its own Hostinger root. PostgreSQL, API, and worker have distinct roles; API and worker share only the artifact mount they require. Migrations run before worker processing, a repair made during Phase 4 qualification.

Deploy one revision at a time. Record image/configuration/migration state, check health, run the affected acceptance harness, and preserve durable sentinels. Never use broad volume deletion or host-wide cleanup. Basic Memory is a distinct `project-brain-dev-memory` project and must not be touched by application deployment.
