How are you running the services?
This is easy with docker. 80 and 443 would be the "inside the container" ports, and you'd choose different "outside the container" ports to prevent conflicts.
For example:
1234:80
2345:443
Exactly how you type it in depends on if you're using Docker Compose, etc.
If you're exposing these to the internet by opening ports: don't.
Use a reverse proxy. The reverse proxy gets 80 and 443 exposed to the internet and handles the security of serving your other services via the ports that you chose above.