Skip to content

fix(ci): simplify self-host setup and database initialization - #804

Draft
izadoesdev wants to merge 4 commits into
stagingfrom
codex/selfhost-database-init
Draft

izadoesdev wants to merge 4 commits into
stagingfrom
codex/selfhost-database-init

Conversation

@izadoesdev

@izadoesdev izadoesdev commented Sep 15, 2026

Copy link
Copy Markdown
Member

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 init starts 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.

@unkey-deploy

unkey-deploy Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Unkey Deploy

Name Status Preview Inspect Updated (UTC)
links (preview) Ready Visit Preview Inspect Sep 16, 2026 6:17am

@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dashboard Ready Ready Preview Sep 16, 2026 6:09am UTC
databuddy-status Ready Ready Preview Sep 16, 2026 6:09am UTC
documentation Ready Ready Preview Sep 16, 2026 6:09am UTC

@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 1b3e5d78-5587-41e2-9494-1616a979e049

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant