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
58
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
100
Introduction to Rust LPW 2017
booyaa
0
130
Rust Language Server And You!
booyaa
0
100
Generator X - The State of Rust Static Site Generators
booyaa
0
340
London Rust User Group Meetup #9 - Baby's First Steps
booyaa
0
120
Rust London User Group Meetup #8 / RustBridge Briefing
booyaa
0
68
Rust London User Group Meetup #7
booyaa
0
68
Docker deep dive for WordPress admins
booyaa
0
180
Other Decks in Technology
See All in Technology
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
14k
能登半島地震において デジタルができたこと・できなかったこと
ditccsugii
0
190
能登半島地震で見えた災害対応の課題と組織変革の重要性
ditccsugii
0
770
Simplifying Cloud Native app testing across environments with Dapr and Microcks
salaboy
0
160
技育祭2025【秋】 企業ピッチ/登壇資料(高橋 悟生)
hacobu
PRO
0
100
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
12
80k
BI ツールはもういらない?Amazon RedShift & MCP Server で試みる新しいデータ分析アプローチ
cdataj
0
160
Vibe Coding Year in Review. From Karpathy to Real-World Agents by Niels Rolland, CEO Paatch
vcoisne
0
140
能登半島災害現場エンジニアクロストーク 【JAWS FESTA 2025 in 金沢】
ditccsugii
0
650
新規事業におけるGORM+SQLx併用アーキテクチャ
hacomono
PRO
0
270
サイバーエージェント流クラウドコスト削減施策「みんなで金塊堀太郎」
kurochan
3
1.6k
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Bash Introduction
62gerente
615
210k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
980
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
20
1.2k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
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