Moving an Old WordPress Site into This Setup
Part 10.1Requirements The MariaDB container from 10 WordPress Setup must be set up and the db network created. 4.1 A Ready Template for Docker Containers must be done (proxy.tmpl and websocket.conf). Assumptions
The old server runs WordPress with MariaDB as the database. The example site is example.com, and the site directory on the old server is /var/www/example. Our user on the new server can connect to the old server over SSH (its SSH key is allowed on the old server). The moved site uses port 8031 (pick a free port from the 8030–8049 range set aside for WordPress). The server each command runs on is written before it. On the new server, commands that need root rights are written with sudo.