Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Good Migrations
Search
Mark Sta Ana
February 25, 2016
Technology
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Good Migrations
My experiences of migrating Santa Ana Ltd WordPress estate to Docker
Mark Sta Ana
February 25, 2016
More Decks by Mark Sta Ana
See All by Mark Sta Ana
Learn Rust in 12 months - Month 01
booyaa
0
110
Introduction to Rust LPW 2017
booyaa
0
170
Rust Language Server And You!
booyaa
0
120
Generator X - The State of Rust Static Site Generators
booyaa
0
370
London Rust User Group Meetup #9 - Baby's First Steps
booyaa
0
130
Rust London User Group Meetup #8 / RustBridge Briefing
booyaa
0
80
Rust London User Group Meetup #7
booyaa
0
83
Docker deep dive for WordPress admins
booyaa
0
250
Other Decks in Technology
See All in Technology
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
460
~最速でビジネスインパクトを創出する~ Sansanのデータ基盤と活用事例
sansantech
PRO
0
110
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
220
野蛮なアジャイル [サイボウズ発!]組織の常識を覆した反骨のスクラム実践記 / Barbaric Agile - Enterprise Agile Study Group
ama_ch
0
120
Turning Repos into the Product Second Brain with an LLM Wiki
linedevth
0
130
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
180
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
1
210
小規模OSSモデルは サイバーセキュリティ業務に どこまで使えるか
bbrbbq
0
150
フィンテック養成勉強会#68
finengine
0
180
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
210
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
250
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
210
Featured
See All Featured
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
330
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
490
WCS-LA-2024
lcolladotor
0
900
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
First, design no harm
axbom
PRO
2
1.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Tell your own story through comics
letsgokoyo
1
1.1k
Designing for Timeless Needs
cassininazir
1
530
We Are The Robots
honzajavorek
0
400
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