Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 701 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 701 Bytes

docker-local-lemp

Local LEMP stack for development. Also includes phpMyAdmin for easier database development/debugging.

Instructions/Usage:

  1. Clone repo
  2. 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)
  3. Run docker-compose build then docker-compose up
  4. You will then have the contents of the public folder served on http://localhost:8080
  5. phpMyAdmin can be accessed from http://localhost:8181 (use credentials for root from docker-compose, and database name is 'mysql')

Note: Shoutout to phpdocker.io for a great online tool that helped form a starting point for this configuration.