- forked from victorhundo
Image created to migrate running Wordpress sites on a host to containers using official Wordpress and MySQL images from DockerHub.
- Copy your running wordpress folder (e.g. /var/www/html/site);
- MySQL dump of the site's database;
- Pairs of certificates and keys
- Paste your wordpress site got from last section into
wp-appfolder; - Paste your certificates and keys into
sslfolder; - Add the certificates/keys lines into 000-default-ssl.conf file at
apachefolder; - Paste your database dump into
databasefolder - Set and run your
docker-compose.ymlfile. A sample is given.
Check out Dockerfile to see how it works.
Any improvement or issue report is welcome.