Improvements to the LEMP Stack
While doing some testing for the LEMP stack I've ran in to a few issues / bugs and have some improvements in mind:
-
Need to add restart:alwaysto each of the services in thedocker-compose.ymlfile. -
The nginx.confcreates a conflict between that file and thedefault.conffile - set to renamenginx.conftodefault.conf -
Need to give the opportunity to change the host port of the nginxcontainer via.env -
Add the webfolder to the.gitignoreexception list. -
Add extra files in the phpcontainer by default.-
test.php-phpinfo() -
adminersingle page database viewer. -
index.php- standardhello world
-
Edited by Conor Ryan