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