Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dokku doesn't map on the right port with Dockerfile deployment #2313

Closed
abellion opened this issue Jul 12, 2016 · 5 comments
Closed

Dokku doesn't map on the right port with Dockerfile deployment #2313

abellion opened this issue Jul 12, 2016 · 5 comments

Comments

@abellion
Copy link

Hey, Dokku seems to let the default port 5000 map even with the "EXPOSE" command in the Dockerfile.
It's happen only with the following steps :

  • dokku apps:create my-app
  • dokku domains:add my-app sub.domain.com

Then, from the host, git push dokku master, the port inside the Dockerfile is detected but the "DOKKU_PROXY_PORT_MAP" is not updated. If you take a look at the nginx.conf you'll see that.

A workaround for this issue is to run dokku proxy:ports-clear my-app.

Dokku version : 0.6.4

See you !

@josegonzalez
Copy link
Member

Can you include all of the information we ask for in our issue template? It is helpful for debugging problems. Thanks.

@josegonzalez
Copy link
Member

@abellion friendly bump :)

@abellion
Copy link
Author

  • uname -a : Linux scw-d78731 4.5.1-std-1 Prerequisite changes to allow Java buildpack support #1 SMP Mon Apr 18 19:58:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  • free -m :
    image]
  • docker version :
    image
  • sigil -v : 0.4.0
  • docker run -ti gliderlabs/herokuish:latest herokuish version :
    image
  • dokku version : 0.6.4
  • dokku plugin :
    image

@ryan-bever
Copy link
Contributor

@josegonzalez @abellion is this still needs info status?

@josegonzalez
Copy link
Member

The documentation around how we handle ports on non-deployed applications was clarified here.

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

No branches or pull requests

3 participants