Akk-stack docker container
Started to play around with this and realized something. Why is 3306 exposed outside the container if there is no connections from the outside to the database?
It just hit me because I use docker and containers and this is the first that has the db exposed to the outside when all that needs access is inside the container.
Wouldn't best security practice be even in a dev environment to not expose the port outside the container?
If anyone knows why, I was just thinking and wondering.
|