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
Light Talk Docker Compose
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Wellington F. Silva
April 22, 2015
Technology
1
170
Light Talk Docker Compose
Lightning talk sobre orquestração com Docker Compose ministrado no Vagrant MeetUp SP #1
Wellington F. Silva
April 22, 2015
Tweet
Share
More Decks by Wellington F. Silva
See All by Wellington F. Silva
O DevOps Acabou (DevOpsDays Porto Alegre 2021)
wsilva
0
380
Improving Observability with Prometheus (Darkmira Tour PHP 2020)
wsilva
0
83
O DevOps Acabou (FiqueEmCasaConf 2020)
wsilva
1
100
DevOps em Times distribuídos (DevOpsDays Recife 2019)
wsilva
0
110
Linux contêineres na unha (TDC Porto Alegre 2019)
wsilva
1
70
DevOps em Times distribuídos (DevOpsDays Campinas 2019)
wsilva
1
450
Swarm vs Kubernetes (PHPeste 2019)
wsilva
0
170
O DevOps Acabou (Startup Summit 2019)
wsilva
1
370
Infra top com GitOps (Meetup Docker SP #27)
wsilva
0
130
Other Decks in Technology
See All in Technology
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
440
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
今日から始めるAmazon Bedrock AgentCore
har1101
4
400
Greatest Disaster Hits in Web Performance
guaca
0
200
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
380
Webhook best practices for rock solid and resilient deployments
glaforge
1
280
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
210
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
230
AI駆動PjMの理想像 と現在地 -実践例を添えて-
masahiro_okamura
1
110
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
2
630
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
540
Featured
See All Featured
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
320
Visualization
eitanlees
150
17k
The Language of Interfaces
destraynor
162
26k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
92
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
57
50k
Odyssey Design
rkendrick25
PRO
1
490
Transcript
ORQUESTRAÇÃO COM DOCKER COMPOSE Lightning talk Primeiro Vagrant Meetup São
Paulo
SOBRE • Wellington: nicks['fisi', '_wsilva', 'tom', 'boina', 'iéié'] •
Técnico Telecom (CREA-SP) • TI desde 2000 • PHP ZCE 5.3
last release (2015-04-16) last release 1.6.0 (2015-04-16)
WHAT IS? https://www.docker.com/whatisdocker/
CONTAINERS vs VMs • Sobe rápido • Padronização • Fácil
replicação • Melhor utilização de recursos • Overhead de IO • Não tão isolado • Só Linux
ORQUESTRAÇÃO
Docker Compose
DOCKER COMPOSE E NÃO COMPOSERRRRRRR
WHAT IS? • Imagine que seu site recebe um tráfego
absurdo
WHAT IS? • Imagine que seu site recebe um tráfego
absurdo • Sua aplicação tem que ser desenvolvida pronta para escalar
WHAT IS? • Imagine que seu site recebe um tráfego
absurdo • Sua aplicação tem que ser desenvolvida pronta para escalar • Vários ambientes: várias configs
WHAT IS? • Imagine que seu site recebe um tráfego
absurdo • Sua aplicação tem que ser desenvolvida pronta para escalar • Vários ambientes: várias configs • Um arquivo, vários containers: docker-compose.yml
HANDS ON • git clone https://github.com/wsilva/light-talk-compose-meetup- laravel.git meetup • cd
meetup • cp meetup-app/.env.example meetup-app/.env • em meetup-app/.env: • APP_KEY=umaStr1ngQu4lqu3R (trocar) • CACHE_DRIVER=redis (trocar) • REDIS_SERVER=redis.inet (adicionar esse cara)
HANDS ON • na raiz do projeto: docker-compose up •
adicionar ao hosts: • linux: echo "127.0.0.1 meetup.inet" | sudo tee -a /etc/hosts • macos: echo "`docker-machine ip` meetup.inet" | sudo tee -a /etc/hosts • Acessar http://meetup.inet/meetup
Q&A
Grato !!! Link para esta apresentação