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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Wellington F. Silva
April 22, 2015
Technology
170
1
Share
Light Talk Docker Compose
Lightning talk sobre orquestração com Docker Compose ministrado no Vagrant MeetUp SP #1
Wellington F. Silva
April 22, 2015
More Decks by Wellington F. Silva
See All by Wellington F. Silva
O DevOps Acabou (DevOpsDays Porto Alegre 2021)
wsilva
0
390
Improving Observability with Prometheus (Darkmira Tour PHP 2020)
wsilva
0
92
O DevOps Acabou (FiqueEmCasaConf 2020)
wsilva
1
110
DevOps em Times distribuídos (DevOpsDays Recife 2019)
wsilva
0
120
Linux contêineres na unha (TDC Porto Alegre 2019)
wsilva
1
83
DevOps em Times distribuídos (DevOpsDays Campinas 2019)
wsilva
1
460
Swarm vs Kubernetes (PHPeste 2019)
wsilva
0
190
O DevOps Acabou (Startup Summit 2019)
wsilva
1
390
Infra top com GitOps (Meetup Docker SP #27)
wsilva
0
140
Other Decks in Technology
See All in Technology
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.1k
インターネットの技術 / Internet technology
ks91
PRO
0
210
生成AIが変える SaaS の競争原理と弁護士ドットコムのプロダクト戦略
bengo4com
0
710
AzureのIaC管理からログ調査まで、随所に役立つSkillsとCustom-Instructions / Boosting IaC and Log Analysis with Skills
aeonpeople
0
230
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
23k
Choose your own adventure in agentic design patterns
glaforge
0
140
ARIA Notifyについて
ryokatsuse
1
120
AIでAIをテストする - 音声AIエージェントの品質保証戦略
morix1500
1
120
LLM時代の検索アーキテクチャと技術的意思決定
shibuiwilliam
3
1.2k
Bill One 開発エンジニア 紹介資料
sansan33
PRO
6
18k
The Journey of Box Building
tagomoris
4
2.7k
社内エンジニア勉強会の醍醐味と苦しみ/tamadev
nishiuma
0
210
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Amusing Abliteration
ianozsvald
1
150
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
160
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
800
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
230
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
170
Code Review Best Practice
trishagee
74
20k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
510
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
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