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
Desenvolvendo e deployando aplicações PHP utili...
Search
Juliana Fernandes
October 07, 2016
Technology
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Desenvolvendo e deployando aplicações PHP utilizando Docker
Juliana Fernandes
October 07, 2016
More Decks by Juliana Fernandes
See All by Juliana Fernandes
SOLID
littlejuh
0
75
Testes de Software
littlejuh
0
65
Construindo releases confiáveis com o uso de Canary Release.
littlejuh
0
96
Social Coding: Contribuindo, Aprendendo e Conhecendo Pessoas
littlejuh
0
73
Definindo uma estratégia de testes em um contexto de microserviços
littlejuh
0
42
Como evitar monolitos distribuídos
littlejuh
0
110
Short-Lived Branch Based Development
littlejuh
0
100
Acabando com as quebras de contrato nos seus micro-serviços
littlejuh
0
350
Compartilhando Experiências da ThoughtWorks University
littlejuh
0
130
Other Decks in Technology
See All in Technology
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
3
910
HHKBエバンジェリストになる方法
941
0
110
2026_devsumi_ozono.pdf
o3
3
530
`t*(42&t>>10)`だけで音楽が鳴る、Swiftで実装するBytebeat / iOSDC Japan 2026
yutailang0119
0
120
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
5
25k
新機種発売前に見直そう!端末移行で再ログインが要るアプリ・要らないアプリは何が違うのか 〜シームレスに再開できる設計と実装〜
zozotech
PRO
0
220
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
520
GoのInterface内部構造から学ぶ!最高パフォーマンスを出すコード設計
yappli_developers
0
190
beyond jj: config & tools ecosystem
indirect
0
5.3k
Azure Serverless 2026:Production-ready な AI エージェント基盤 / Azure Serverless 2026: Production-Ready AI Agent Platform
miyake
2
340
ユーザー価値を届け続けるためにウォンテッドリーが大切にしている文化
kotaminato
0
180
AI de Idea
kawaguti
PRO
2
130
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
109
250k
Ruling the World: When Life Gets Gamed
codingconduct
0
340
Making the Leap to Tech Lead
cromwellryan
135
10k
A Modern Web Designer's Workflow
chriscoyier
699
190k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
My Coaching Mixtape
mlcsv
0
320
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
760
Transcript
Desenvolvendo e deployando aplicações PHP utilizando Docker 1
Sobre nós Waldemar Neto @waldemarnt http://walde.co/ Juliana Fernandes @littlejuh_ https://github.com/littlejuh
https://speakerdeck.com/littlejuh 2
Componentes de uma aplicação PHP APP Extensions: Php5-mysql Mcrypt ...
Configurações: { Env: prod, Db_name: ... } 3
O que é Docker? 4
Alguns benefícios 5 Onboard rápido e fácil Sem conflitos na
app Consistência nos ambientes
Conceitos Dockerfile, build, containers e orquestração 6
Docker vs Maquinas Virtuais 7
Dockerfile FROM imagem RUN comando COPY copia arquivos do host
para a imagem CMD comando de saida 8
Imagem Docker FROM imagem RUN comando COPY copia arquivos do
host para a imagem CMD comando de saida 9
Cachê de camadas de imagens docker FROM imagem RUN outro
comando COPY copia arquivos do host para a imagem CMD comando de saida 10
Processo de Build Download da imagem base Comandos Imagem pronta
11
Containers 12
Volumes DADOS 13
Osquestração com docker-compose 14
Laravel PHP + Docker Configurando o Docker para apps PHP
15
Laravel 16
Criando Dockerfile 17
Processo de build 18
Docker Compose 19
NETWORK APP depends e volumes Servidor web porta 80 20
Sincronizando volumes Monta volume no container 21
Rodando comando externos 22
Outros comandos 23
Comandos customizados True ou false 24
Containers para executarem ações 25
Shipping to production! Pontos de atenção 26
Imagem como artefato 27
O mesmo ambiente em todo lugar GIT DEV QA PROD
CI/CD Registry 28
Orquestração em produção 29
Docker compose em produção Node docker compose APP • Facilidade
de usar em dev e prod • Focado em orquestração • Focado em uma máquina/node • Não possui health check • Possui downtime • Baixa resiliencia 30
Docker Swarm Docker Swarm Node 1 Node 2 Node 3
APP APP APP 31
Kubernetes Kubernetes master replication controller Node 1 Node 2 Node
3 POD APP POD APP APP POD 32
Referencias 33 • docker.com • laravel.com • kubernetes.io • leanpub.com/dockerparadesenvolvedores
• http://techfree.com.br • https://12factor.net
Valeu! Perguntas? @waldemarnt - @littlejuh_