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

Publish multiple docker with same port #42

Open
andreapx opened this issue Feb 16, 2021 · 2 comments
Open

Publish multiple docker with same port #42

andreapx opened this issue Feb 16, 2021 · 2 comments

Comments

@andreapx
Copy link

Hi,
I've followed you rinstruction and I was able to block all the port except the ones I needed, but now...I need to expose a second webserver on a different port, how do I do this?

@chaifeng
Copy link
Owner

chaifeng commented Apr 1, 2021

Hi, using the script, like

ufw-docker allow your-second-web-server 8080/tcp

@Gadnief
Copy link

Gadnief commented May 5, 2021

Normally i could do this by mapping the containerport to a different host port. Like 8081:8080. With your solution this is not possible right? So all containers running native on 8080 have to use a different subpath or domain right?!

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

No branches or pull requests

3 participants