ammonshepherd/pmamp ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple local Docker setup for a PHP website with Apache, MySQL, and phpMyAdmin.
I want it so I can put my site files in a www folder, open the app at localhost or lvh.me, and manage the database in phpMyAdmin from a separate local address. The database should keep its data between restarts, and I should be able to change the MySQL username, password, and database name easily in the compose file.
Please include sensible defaults for file uploads and make sure PHP can talk to MySQL without extra hassle. If it helps, set it up so I can also use custom local domains through my hosts file. Keep it easy to run with one Docker compose command, and add any notes I’d need for first time setup. If you need to check current Docker or Traefik docs, go ahead and look them up online.
Are you gonna build this?
make sure you review the code using coderabbit