Skip to content

feat(self-host): optional CUSTOM_DOMAIN for non-prod stages - #227

Open
CristianDeluxe wants to merge 1 commit into
every-app:mainfrom
CristianDeluxe:selfhost-custom-domain
Open

feat(self-host): optional CUSTOM_DOMAIN for non-prod stages#227
CristianDeluxe wants to merge 1 commit into
every-app:mainfrom
CristianDeluxe:selfhost-custom-domain

Conversation

@CristianDeluxe

Copy link
Copy Markdown

Proof of concept for #226 — I read docs/CONTRIBUTING.md, so no merge expected; this is here to make the issue concrete.

Reads an optional CUSTOM_DOMAIN env var (same optionalVar mechanism as the rest of the config) and passes it to the Worker domain prop on non-prod stages. Prod keeps its hardcoded domains. Unset, nothing changes.

Running on our selfhost stage since 2026-08-15: with CUSTOM_DOMAIN=seo.<our-domain> in .env.selfhost the deploy reports Reconciling custom domains (1) and the domain survives every deploy; before the change the reconcile deleted it (Reconciling custom domains (0)).

@CristianDeluxe
CristianDeluxe force-pushed the selfhost-custom-domain branch from c684e65 to 8114213 Compare August 18, 2026 16:28
oluwaseunmauwedo pushed a commit to oluwaseunmauwedo/open-seo that referenced this pull request Aug 25, 2026
ramonmnavarro-byte pushed a commit to ramonmnavarro-byte/open-seo that referenced this pull request Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant