Docker: Unable to customise port number
See original GitHub issueSay port 8080 is not available and we would like change it, since we are deploying it via docker we could do this
services:
flowable:
image: flowable/all-in-one
ports:
- 1111:8080
But when I visit the url
http://localhost:1111/flowable-modeler/
it redirects me to the url
http://localhost:8080/flowable-idm/#/login?redirectOnAuthSuccess=true&redirectUrl=http://localhost:1111/flowable-modeler/
looks like its been hard-coded to 8080
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
port number not change for docker-compose - Stack Overflow
Have you checked your networks by using docker network ls You explicitly specified nat network. Did you created a custom one or using...
Read more >How to start your Docker container using a different port
This error message means that another program (process) is listening on the port 8080. Since only one process can listen on a given...
Read more >How to Create a New Docker with Custom Port - YouTube
Your browser can't play this video. ... Fix for Docker ' Port in Use' Error - How to Create a New Docker with...
Read more >Docker How to configure ports for Containers ? - YouTube
Never used Docker ? Consider watching this 40-minute getting started video! - https://www.youtube.com/watch?v=BZiwpsnLLYQIn this video, ...
Read more >Port Already Allocated Error - FIX - Change Ports on Containers
Here's how to fix the " Docker port is already allocated error" It has ... This also shows how to do this for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that mapping container port 8080 to host port 9090 will in fact work:
docker run -e FLOWABLE_COMMON_APP_IDM-URL=http://localhost:8080/flowable-idm -e FLOWABLE_COMMON_APP_IDM-ADMIN_USER=admin -e FLOWABLE_COMMON_APP_IDM-ADMIN_PASSWORD=test -e FLOWABLE_COMMON_APP_IDM-REDIRECT-URL=http://localhost:9090/flowable-idm -p9090:8080 flowable/all-in-one
All off the stuff on the flowable-modeler dockerhub page doesn’t work out of the box, though (anymore).
Hi.
What do you mean with;
This issue was about the
all-in-one
image. This runs the Flowable UI apps on a Tomcat servlet container. This means some of the Spring Boot (standalone) application properties do not apply. LikeSERVER_PORT
.