Skip to content

Port assignment with docker-compose.yml #70

@Struck713

Description

@Struck713

With Dokploy (and more specifically Traefik) we do not need to bind ports. As long as we specify the port mapping for the service in Dokploy (typically configured to 3000), Traefik will reverse proxy it without the port needing to be binded to a port in the host.

Not sure if there is a specific reason for this, but I don't like just exposing the port. Feels like a security concern. I noticed that it is done here:

- "3001:8000"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions