This project is just a PHP and NGINX docker optimized and ready to use for (production or development) configured by target on docker-compose file. Why you should use this code base? Because this repo provides a nice and simple docker environment, you will find just the necessary extensions for production app or development.
- Docker
- docker-compose
The installation of the project is very simple. It consists of two steps the first step is to download the repository using git clone.
git clone [email protected]:matheusbloise/docker-multi-stage-php-nginx.git
And the second step, is to start the project by executing the following command
docker-compose up
To use it locally you have to run docker-compose and the project will start in development mode. This mode will be used both for local development and for the development environment.
docker-compose up
For the production environment, the execution of the project is a bit different from the other environments as you have to run the docker-compose with two files to be able to apply the production configuration.
docker-compose -f docker-compose.yml -f docker-compose-cloud.yml up
Please see CONTRIBUTING.md for details of our code of conduct, and the process for submitting pull requests to us.
You can find much more on how to use this project in our Wiki
You can also see the list of all contributors who have participated in this project.
This project is under the License (Your License) - see the file LICENSE for details.