-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Add configurable port instead of hardcoding 8080 #176
Comments
This sounds like a fundamental flaw of the tool you are using. I suggest you create your own Dockerfile and expose a port number other than 8080 if you really have to. |
Your opinions on Dokku are not cause to close this ticket. Whatever Dokku does is irrelevant, this ticket is about a lack of configurable port in Alerta. This ticket should be re-opened. Furthermore, adding a |
The documentation you refer to recommends the same fix that I suggested above ...
https://github.com/dokku/dokku/blob/master/docs/networking/port-management.md#dockerfile So create your own Dockerfile with a different |
Yes, I have also found this option in Dokku since I first posted. However, that is again irrelevant. This is about a configurable port in the alerta software. Why has this been marked wont-fix? Because there are other work arounds? It would be easier for some to pass the port in via an env var... even if you don't intend to do it yourself someone else could make this configurable if the ticket stays open? |
Rereading the port management page again I clearly states that host->container port mapping is now supported ...
|
Is your feature request related to a problem? Please describe.
I am using dokku.viewdocs.io/dokku to deploy (open source Heroku) (using https://github.com/alerta/docker-alerta) which uses the proxy ports plugin (see https://github.com/dokku/dokku/blob/master/docs/networking/port-management.md) by default which reads the
EXPOSE
definition of the Dockerfile and maps that port to Nginx proxying. Since 8080 is such a common port, this conflicts with other containers. Dokku doesn't easily allow to do the usual-p 9090:8080
magic where you re-map the port. Hence, I need an application level port configuration.Describe the solution you'd like
Have a configuration option to choose a new port so that I can override the Dockerfile and specify that new port with an
EXPOSE ....
definition.Describe alternatives you've considered
Checked the docs... saw alerta/alerta#178...
Additional context
Unsure.
The text was updated successfully, but these errors were encountered: