mchekin / rpg

Online Role Playing Game (based on Laravel)
MIT License
188 stars 52 forks source link

Docker-compose wrong port and inability to connect to localhost #81

Closed michelangelo404 closed 2 years ago

michelangelo404 commented 2 years ago

I'm using docker-compose desktop for windows 10. When I launch docker-compose up -d and open localhost:8080, as the guide says, the site it's unreachable. I noticed in docker-compose.yml file the default ports are 443 and 8080, docker-compose desktop picks 443. I've tried to comment the line with port 443, now docker uses port 8080 but Nginx give 502 error, port 8080 it's not occupied by another service.

michelangelo404 commented 2 years ago

I solved it by changing the registry variables, from windows home I set windows professional, and i reinstalled docker desktop