fix(ci): simplify self-host setup and database initialization - #804
izadoesdev wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Unkey Deploy
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ade95c4 to
fbe91ae
Compare
Self-host installs can initialize schemas and build a dashboard for their own URLs using Docker Compose alone. The init image ships with releases;
run --rm initstarts its database dependencies and applies PostgreSQL/ClickHouse setup. Insights is opt-in, so the default stack needs no AI credentials.Compose shares database, auth, and health-check settings and removes fixed container names, the custom network, and unused IP_HASH_SALT. It adds dashboard and init services while removing 14 lines overall. Existing database credentials, volumes, and hosted Docker defaults remain unchanged. Email and optional provider settings reach the services that use them.
Validation
Dependencies and limits
Depends on #803, #805, and #806 for email fallback, credential-free ingestion, and custom-domain onboarding. All branches start from staging. This PR owns Compose and schema setup; #808 owns the README and contributor guidance so the diffs do not overlap.
Billing-backed features still need Autumn; missing-provider billing errors overlap #790. DQL needs restricted-user provisioning. Upgrades require matching release checkouts, explicit PostgreSQL prompts, and release-specific ClickHouse migrations.
AI-assisted implementation and verification with Codex. Draft for maintainer review; no production deployment performed.