- 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-app
folder; - Paste your certificates and keys into
ssl
folder; - Add the certificates/keys lines into 000-default-ssl.conf file at
apache
folder; - Paste your database dump into
database
folder - Set and run your
docker-compose.yml
file. A sample is given.
Check out Dockerfile to see how it works.
Any improvement or issue report is welcome.