This project is a basic PHP application with Docker support. It contains a simple PHP code base along with Docker configurations for easy development and deployment.
Before running the project, ensure that you have the following installed:
- Docker: Install Docker
- Docker Compose: Install Docker Compose
Clone this repository to your local machine:
git clone https://github.com/nematzade/php-docker-nginx-demo-project.git
cd php-docker-nginx-demo-project
docker-compose up --build -d
This will start all the services (PHP, Nginx) as containers. You can now access the PHP application in your browser at
app1: http://localhost:801 app2: http://localhost:802 app3: http://localhost:803