My experiences of migrating Santa Ana Ltd WordPress estate to Docker
Moving a WordPress site to DockerMark Santa Ana@booyaagithub.com/booyaabooyaa.orgGood Migrations
View Slide
Who am I?‣ Polyglot dev with Ops background‣ Sysadmin for Santa Ana Ltd
Our SetupPREVIOUS‣ Virtual Private Server‣ LAMPNEW‣ Cloud Server‣ Docker‣ LEMP
Dockersource: https://www.docker.com/what-docker
Why did we choose Docker?‣ Secure
Why did we choose Docker?‣ Secure‣ Reproducible
Why did we choose Docker?‣ Secure‣ Reproducible‣ Explicit
Why did we choose Docker?‣ Secure‣ Reproducible‣ Explicit‣ Flexible
Why did we choose Docker?‣ Secure‣ Reproducible‣ Explicit‣ Flexible‣ Economical
Why should you choose Docker?Democratises technology, just like WordPress
Migration‣ Backup‣ Install/Setup Docker‣ Restore
TIL
Permissions‣ chown -R www-data:www-data /var/www/html‣ docker exec -it name_of_wordpress_container
Mail‣ Postman SMTP
Security‣ Goodbye fail2ban‣ Hello Wordfence‣ Hello 2FA
Summary‣ WordPress on Docker is easy‣ It requires some technical expertise‣ Moving to Docker could be easier (but there’s an app for that)
santaana.co.uk
ResourcesWhat is Docker chown command WordPress permissions Fail2ban Postman WordFence 2FA Kitematic hyperironcladhttps://www.docker.com/what-docker http://www.cyberciti.biz/faq/how-to-use-chmod-and-chown-command/ http://www.chrisabernethy.com/why-wordpress-asks-connection-info/ http://www.fail2ban.org/ https://wordpress.org/plugins/postman-smtp/ https://wordpress.org/plugins/wordfence/ https://wordpress.org/plugins/wp-google-authenticator/ https://www.docker.com/products/docker-kitematic http://github.com/booyaa/hyperironclad