WordPress with docker

Steps

  1. setup a server
  2. install docker and compose from docker site
  3. clone this repo
  4. in Bell router port forwar 80 and 443 to this new server's same ports
  5. up the compose file
  6. use CTRL+Z if you want to send the logs to a background
  7. docker-compose logs -f will take you back to the logs
  8. let the wp to be installed, ~5 minutes
  9. navigate to englishrealm.ca
  10. create a site and login
  11. install wp all in one migrate add-on
  12. change the .htaccess file in both site's volume paths with the following content. Comment it later once the importing is done.
  13. change the proxy/conf.d/custom_proxy_settings.conf to have 200m. Restore it later once the importing is done.
  14. in wp all in one migrate import the previously exported backup file
  15. follow the instructions, especially the one that tells that the permalink setting need to be opened and saved twice.
  16. revert/comment changes made to .htaccess and custom_proxy_settings