Docker monorepo architecture and project notes MVP
2 hours
Docker, WordPress, PHP JavaScript, Git (monorepo), MailHog
Resolving Docker Volume 'Ghost folders' and port collisions. We faced soft 404 redirects because of URL mismatches 8001 and 8080 and a zombie container holding onto the mailhog ports
used dosker ps to identify and kill the old container, then refactored docker-compose.yaml to use specific volume mounts instead of broad parent-folder mounts
learned how to troubleshoot Docker 'file not found' errors using docker exec ls -R, the importance of WP_HOME matching the container port, and how to architect a suite of plugins in a single git monorepo