Docker Compose file for Containers with Apache, PHP 7.3, and MySQL 8, for Web Development.
More details can be found here.
Create the Containers.
docker-compose up -dCheck the Docker Compose Logs.
docker-compose logsOpen the http://localhost:4000/test.php url on your browser.
You should see the following text:
Connection successful!Stop the Containers.
docker-compose stopRemove the Containers.
docker-compose down