OpenStar
Self-host

Configuration

Environment variables and operational setup for self-host preview.

Expected configuration:

Operational tasks

Run database migrations.
Configure GitHub OAuth callback domains.
Schedule corpus refresh.
Schedule Watch brief generation.
Back up PostgreSQL.
Track GitHub and LLM provider failures.

Environment example

PGSQL_URL=postgresql://...
GITHUB_CLIENT_ID=...
GITHUB_CLIENT_SECRET=...
GITHUB_OAUTH_CALLBACK_URL=https://example.com/api/auth/github/callback
OPENSTAR_TOKEN_SECRET=...
EXPO_PUBLIC_OPENSTAR_API_BASE_URL=https://example.com
LLM_BASE_URL=https://provider.example.com
LLM_API_KEY=...
LLM_MODEL=...

On this page