This repository provides a starting template for PHP application development.
It contains:
- NGINX webserver
- PHP FastCGI Process Manager with PDO MySQL support
- MariaDB (GPL MySQL fork)
- PHPMyAdmin
- Install Docker Desktop on Windows or Mac, or Docker Engine on Linux.
- Clone the project
In a terminal, from the cloned project folder, run:
docker compose up
NGINX will now serve files in the app/public folder. Visit localhost in your browser to check. PHPMyAdmin is accessible on localhost:8080
If you want to stop the containers, press Ctrl+C.
Or run:
docker compose down