Local LEMP stack for development. Also includes phpMyAdmin for easier database development/debugging.
- Clone repo
- Create folders 'database_data' (will later hold the mysql data) and 'sql-init' (you can put your .SQL file here for build on container start)
- Run
docker-compose build
thendocker-compose up
- You will then have the contents of the public folder served on http://localhost:8080
- phpMyAdmin can be accessed from http://localhost:8181 (use credentials for root from docker-compose, and database name is 'mysql')