Dokploy / Dokploy/dokploy

Domain binding should not require specifying port number for deployed services

Open
#3,304 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
37.4k
Forks
3k
Avg merge
1d 3h
Merged PRs (30d)
73

Description

What problem will this feature address?

When adding a custom domain to an already deployed project, Dokploy requires the user to manually enter the service port. This is redundant because the platform already knows the exposed port from the deployment configuration. It creates unnecessary friction, increases the chance of misconfiguration, and is confusing for users who expect domain routing to work automatically once a service is running.

Describe the solution you'd like

Dokploy should automatically infer the correct port from the deployed service when adding a domain. The port field should not be required in normal cases. If needed, the option to override the port can be placed under an advanced or optional setting.

Describe alternatives you've considered

Continuing to manually enter the port every time works as a workaround, but it is error prone and does not scale well for multiple services or less experienced users.

Additional context

This behavior differs from most modern PaaS platforms, where domain binding is handled automatically through the reverse proxy once a service is deployed. Improving this would significantly enhance the developer experience and reduce configuration mistakes.

Will you send a PR to implement it?

Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by tracing the domain-binding flow for an already deployed service and identify where the service's exposed port is stored and consumed. Done means the port is inferred in normal cases, remains optionally overridable, and domain binding still works for deployed services.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.