Skip to content

feat(server): per-server defaultDomain for auto-generated app domains#110

Merged
AminDhouib merged 5 commits into
canaryfrom
port/upr-4364
Jul 16, 2026
Merged

feat(server): per-server defaultDomain for auto-generated app domains#110
AminDhouib merged 5 commits into
canaryfrom
port/upr-4364

Conversation

@AminDhouib

Copy link
Copy Markdown
Member

Ports Dokploy#4364 by @tatdorian (closed unmerged upstream 2026-05-08).

Adds a nullable default_domain column on the server table so each deploy server can declare its own wildcard base domain. generateRandomDomain uses that base when set, falling back to the fork's sslip.io default. The manager (no serverId) reads DEFAULT_DOMAIN from the environment.

  • server schema + apiCreateServer/apiUpdateServer gain defaultDomain (persisted via the existing ...input spread).
  • Server settings dialog exposes an optional "Default Domain" field.
  • Preview-deployment settings default the wildcard domain to the target server's defaultDomain (or *.sslip.io).

Migration: slot 0198_moaning_vermin (ALTER TABLE "server" ADD COLUMN "default_domain" text;), drizzle-kit regenerated with the fork's journal numbering.

Verification: pnpm --filter=dokploy run typecheck passes in a fresh worktree.

tatdorian and others added 5 commits July 12, 2026 21:37
…ains

Adds a nullable default_domain column on the server table so each deploy
server can declare its own wildcard base. generateRandomDomain uses that
base when set, falling back to the fork's sslip.io default. The manager
(no serverId) reads DEFAULT_DOMAIN from env. Server settings expose the
field, and preview deployments default the wildcard domain to the target
server's defaultDomain.

Ports Dokploy#4364 by @tatdorian (closed unmerged upstream 2026-05-08).
# Conflicts:
#	apps/dokploy/components/dashboard/application/preview-deployments/show-preview-settings.tsx
#	apps/dokploy/drizzle/meta/_journal.json
@AminDhouib
AminDhouib merged commit 15572ae into canary Jul 16, 2026
3 of 6 checks passed
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.

2 participants