Skip to content

Change default port 3000 #29

Closed
Closed

Description

@icebob

Hello,

great project. However, how can I change the Dokploy web port 3000 to another one?
I tried to find it in "Web server settings" on the site but I didn't find it.

Activity

  1. jlucaso1 commented on May 5, 2024

    @jlucaso1

    Try to change the env var PORT

  2. icebob commented on May 6, 2024

    @icebob
    Author

    But how, I installed the containers with the curl ....sh | sh command.

  3. Siumauricio commented on May 6, 2024

    @Siumauricio
    Contributor

    What are the reasons you want to change the port?

  4. icebob commented on May 6, 2024

    @icebob
    Author

    I would like to use it in localhost for dev tools, but my main project is running on 3000 as well and it causes conflict at port binding.

  5. Siumauricio commented on May 6, 2024

    @Siumauricio
    Contributor

    You have two options.

    1. change the port that you application are using this is more simple.
    2. You don't need to add explicity a port in Ports Section, just simply add a new domain and in the container port set the 3000 port and that's all, you can have any applications running in 3000 port because when you add a domain traefik automatically will redirect to the container, but if you want to use the application without a domain and you want to explicity bind to a port just go to ports and target port set 3000 and published set something like 3001
  6. Siumauricio commented on May 9, 2024

    @Siumauricio
    Contributor

    @icebob Give me more details about this, if you want hit me up on discord and I will be delighted to help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions