- To set up the container
docker-compose up --build
- To start the container
docker-compose up
If mapping subdomains instead of localhost, please edit the /etc/hosts file on Windows
https://phoenixnap.com/kb/docker-nginx-reverse-proxy
https://stackoverflow.com/questions/58466891/nginx-in-docker-proxy-path-to-subdomain
http://geekyplatypus.com/dockerise-your-php-application-with-nginx-and-php7-fpm/
https://serverfault.com/questions/920534/nginx-proxy-subdomains-to-other-addresses-and-ports
https://stackoverflow.com/questions/24319662/from-inside-of-a-docker-container-how-do-i-connect-to-the-localhost-of-the-mach
https://stackoverflow.com/questions/31503705/docker-networking-without-linking