|
|
|
|
|
by dsissitka
2112 days ago
|
|
Are you sure? From https://docs.docker.com/compose/compose-file/: > Either specify both ports (HOST:CONTAINER), or just the container port (an ephemeral host port is chosen). It sounds like you get a random publicly accessible port unless you specify a non publicly accessible IP. I'm not sure whether having a DNS server listening on a non standard port would be an issue though. |
|
but nonetheless you're ingress rules in your cloud provider will not allow anything but that's single port so it's not really a big deal provided you close everything else off in your firewall.
I will make an update to see how I can work around this