This is a simple PHP project skeleton that uses Docker and Nginx as the web server.
- Docker
- Docker Compose
- Clone this repository to your local machine
- Open a terminal and navigate to the root of the project
- Run the following command to build the Docker images:
docker-compose build
Start the Docker containers:
docker-compose up -d
Connect to the PHP container:
docker-compose exec php bash
Install the project dependencies using Composer:
composer install
To access the project, open your web browser and go to http://localhost:8099/hello.
If you encounter any issues with the project, try the following steps:
- Check the Docker logs for any errors:
docker-compose logs