I’m running the latest version Docker on WSL2 in Windows 10.
What my goal is to copy my inmotionhosting website to my home computer into a docker container. Then copy the wordpress, import the database. My goal is to run the “production” wordpress in Docker.
I’ve found tons of help creating wordpress, mysql, phpmyadmin containers. Using suggested docker-compose .yml I can get to wordpress, mysql and phpmyadmin. But have no clue how to use my copied wordpress files.
One big problem is the directory structure of my hosting service is different from my wsl system. Watching the compose file start up. I see it’s referencing /var/www/html. Doesn’t exit. I created and my files there. Apparently is was ignored. My docker-compose files is below. The result form this is results in complaints about unable to read .htaccess.
I’ve tried many suggestions from google, none worked.
Is there a guide I can follow to help me?
Thanks so much.