Skip to content

feat(preview-deployments): Custom Entrypoint support#4748

Open
disc wants to merge 1 commit into
Dokploy:canaryfrom
disc:feat/preview-custom-entrypoint
Open

feat(preview-deployments): Custom Entrypoint support#4748
disc wants to merge 1 commit into
Dokploy:canaryfrom
disc:feat/preview-custom-entrypoint

Conversation

@disc

@disc disc commented Jul 6, 2026

Copy link
Copy Markdown

Summary

  • Add a Custom Entrypoint setting to an application's Preview Deployment configuration, so auto-generated preview domains can override the default web/websecure Traefik entrypoints — matching the Custom Entrypoint control already available on regular application domains.
  • New nullable applications.previewCustomEntrypoint column (+ migration 0173). createPreviewDeployment passes it through to createDomain, and the existing manageDomain call writes it into the Traefik dynamic config automatically.
  • Preview Settings gets a Custom Entrypoint toggle + Entrypoint Name input; toggling off stores null and reverts to the default. Only affects previews created after the setting is saved.

Validation

  • Tested locally end-to-end (GitHub App + tunnel): set a custom entrypoint, opened a PR, and confirmed the generated preview domain's Traefik router uses the configured entrypoint; toggling off reverts to web/websecure.
preview-deployments-custom-entrypoint.mp4

Issues related

Closes #4796

@disc disc requested a review from Siumauricio as a code owner July 6, 2026 13:12
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. enhancement New feature or request labels Jul 6, 2026
@disc disc changed the title feat(preview): support custom entrypoint for preview deployments feat(preview): add custom entrypoint support Jul 6, 2026
@disc disc force-pushed the feat/preview-custom-entrypoint branch from 299cf50 to 3d45ff8 Compare July 6, 2026 13:16
@disc disc changed the title feat(preview): add custom entrypoint support feat(preview-deployments): add custom entrypoint support Jul 7, 2026
@disc disc force-pushed the feat/preview-custom-entrypoint branch from ee989a0 to ceff7b0 Compare July 11, 2026 14:40
@disc disc force-pushed the feat/preview-custom-entrypoint branch from ceff7b0 to b4b30cc Compare July 11, 2026 15:41
@disc disc changed the title feat(preview-deployments): add custom entrypoint support feat(preview-deployments): Custom Entrypoint support Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support custom Traefik entrypoint for Preview Deployments

1 participant