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
47
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
92
Introduction to Rust LPW 2017
booyaa
0
86
Rust Language Server And You!
booyaa
0
95
Generator X - The State of Rust Static Site Generators
booyaa
0
320
London Rust User Group Meetup #9 - Baby's First Steps
booyaa
0
100
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
130
Other Decks in Technology
See All in Technology
セキュリティ運用って包括的にできていますか?SaaSを使って次のステップへ / Comprehensive Cyber Security Operations for Cloud Services Using SaaS
sakaitakeshi
0
210
もし大規模障害が、10分で解決できたら?
masaaki_k
0
110
SAP Community and Developer Update
sygyzmundovych
0
350
コンパウンド戦略に向けた技術選定とリアーキテクチャ
kworkdev
PRO
1
2.2k
minify の効果を最大限に引き出す TypeScript コードを書く
jsakamoto
2
120
Next.jsとNuxtが混在? iframeでなんとかする!
ypresto
2
1.9k
LLMの気持ちになってRAGのことを考えてみよう
john_smith
0
160
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
630
日経電子版のStoreKit2フルリニューアル
shimastripe
2
170
Storybook との上手な向き合い方を考える
re_taro
5
3.8k
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
2k
【平成レトロ】へぇボタンハック👨🔧
vanchan2625
0
150
Featured
See All Featured
Producing Creativity
orderedlist
PRO
341
39k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Agile that works and the tools we love
rasmusluckow
327
21k
Automating Front-end Workflow
addyosmani
1366
200k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
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