Complete PHP Docker development environment with NGINX proxy and Portainer as services and PHP 7.1 FPM, NGINX, MySQL 5.7 with Redis as a boilerplate for PHP projects.
Containers within the root directory are meant to be global services, by default this includes jwilder/nginx-proxy and portainer/portainer to manage Docker within a remotely accessible GUI.
- Run
server/install.shto create the nessecary Docker networks and start the MySQL, NGINX and Portainer containers. - Copy the application you need for your setup from
applicationsto your project. - Update the
.envfile to work for your application. - Run
docker-compose up -dto start your application.
This Docker setup is provided free of charge and you can do whatever you want with it. The author is not responsible for data loss or any other problems resulting from the use of this Docker setup.