andreaulicna / 42_ft_transcendence

Surprise.
2 stars 0 forks source link

Remove 'expose' directives from docker-compose #5

Open loudapet opened 1 month ago

loudapet commented 1 month ago

expose exposes the ports to the host, which we don't need - the only exposed port we need is the one the website is accessible from, so 1337 in our case (which gets internally redirected to 80, or 443 later). Other opened ports should only be accessible from withing network: transcendence