Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Good Migrations
Search
Mark Sta Ana
February 25, 2016
Technology
0
49
Good Migrations
My experiences of migrating Santa Ana Ltd WordPress estate to Docker
Mark Sta Ana
February 25, 2016
Tweet
Share
More Decks by Mark Sta Ana
See All by Mark Sta Ana
Learn Rust in 12 months - Month 01
booyaa
0
95
Introduction to Rust LPW 2017
booyaa
0
97
Rust Language Server And You!
booyaa
0
96
Generator X - The State of Rust Static Site Generators
booyaa
0
330
London Rust User Group Meetup #9 - Baby's First Steps
booyaa
0
110
Rust London User Group Meetup #8 / RustBridge Briefing
booyaa
0
59
Rust London User Group Meetup #7
booyaa
0
62
Docker deep dive for WordPress admins
booyaa
0
140
Other Decks in Technology
See All in Technology
Cloudflareで実現する AIエージェント ワークフロー基盤
kmd09
0
280
.NET 最新アップデート ~ AI とクラウド時代のアプリモダナイゼーション
chack411
0
200
Goで実践するBFP
hiroyaterui
1
120
あなたの知らないクラフトビールの世界
miura55
0
120
商品レコメンドでのexplicit negative feedbackの活用
alpicola
1
340
GeometryReaderやスクロールを用いた表現と紐解き方
fumiyasac0921
0
100
AWS re:Invent 2024 recap in 20min / JAWSUG 千葉 2025.1.14
shimy
1
100
The future we create with our own MVV
matsukurou
0
2k
東京Ruby会議12 Ruby と Rust と私 / Tokyo RubyKaigi 12 Ruby, Rust and me
eagletmt
3
850
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
330
OPENLOGI Company Profile
hr01
0
58k
ABWGのRe:Cap!
hm5ug
1
120
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Designing for humans not robots
tammielis
250
25k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Fireside Chat
paigeccino
34
3.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Visualization
eitanlees
146
15k
Unsuck your backbone
ammeep
669
57k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
YesSQL, Process and Tooling at Scale
rocio
170
14k
A designer walks into a library…
pauljervisheath
205
24k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
Building Adaptive Systems
keathley
38
2.4k
Transcript
Moving a WordPress site to Docker Mark Santa Ana @booyaa
github.com/booyaa booyaa.org Good Migrations
Who am I? ‣ Polyglot dev with Ops background ‣
Sysadmin for Santa Ana Ltd
Our Setup PREVIOUS ‣ Virtual Private Server ‣ LAMP NEW
‣ Cloud Server ‣ Docker ‣ LEMP
Docker source: 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
None
Resources What is Docker chown command WordPress permissions
Fail2ban Postman WordFence 2FA Kitematic hyperironclad https://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