Design an approach to port conflicts
mik3y opened this issue · comments
Port conflicts are inevitable among installed apps, since all are placed on the same shared network. Design an approach to preventing these.
Some ideas:
- Prior to install, scan all existing compose files for all declared/exposed ports, and throw an error if a conflict is being created.
- This seems most robust.
- Add a new variable type named
"port"
, and use it when ports are declared; check against all ports upon install.- This only works for ports exposed to variables - a compose file may bring along other exports.