Now it is possible to have the site have the entire Stack of the new PHPDF website directly on your machine, enabling follow-up, sending of suggestions and improvements.
The reverse proxy solutions for this repository have been provided by repo devbrotherhood/docker-reverse-proxy and are used to bind multiple domains to specific port applications for Docker, allowing multiple containers to run on different ports, but responding to a default port such as 80.
In this solution, we use the docker-compose tool from Docker.
Let's take the steps:
- Add your host to
/etc/hosts
- Duplicate the
docker-compose.yml_sample
and./conf/my_proxy.conf_sample
files respectively todocker-compose.yml
and./conf/my_proxy.conf
, adjusting according to your needs. - Run the command below so that docker raises the entire stack of your application:
docker-compose up