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
Wellington F. Silva
April 22, 2015
Technology
1
160
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
300
Improving Observability with Prometheus (Darkmira Tour PHP 2020)
wsilva
0
42
O DevOps Acabou (FiqueEmCasaConf 2020)
wsilva
1
72
DevOps em Times distribuídos (DevOpsDays Recife 2019)
wsilva
0
64
Linux contêineres na unha (TDC Porto Alegre 2019)
wsilva
1
34
DevOps em Times distribuídos (DevOpsDays Campinas 2019)
wsilva
1
380
Swarm vs Kubernetes (PHPeste 2019)
wsilva
0
130
O DevOps Acabou (Startup Summit 2019)
wsilva
1
330
Infra top com GitOps (Meetup Docker SP #27)
wsilva
0
79
Other Decks in Technology
See All in Technology
MicrosoftのOSSだけでAIによるブラウザテストを構成する
ymd65536
1
230
やっちゃえ誤自宅Nutanix
yukiafronia
0
330
スクラムマスターの活動と組織からの期待のズレへの対応 / Dealing with the gap between Scrum Master activities and organizational expectations
pauli
2
990
製造業とソフトウェアは本当に共存できていたのか?品質とスピードを問い直す
takabow
12
4k
企業テックブログにおける執筆ネタの考え方・見つけ方・広げ方 / How to Think of, Find, and Expand Writing Topics for Corporate Tech Blogs
honyanya
0
690
Site Reliability Engineering on Kubernetes
nwiizo
6
3.8k
Women in Agile
kawaguti
PRO
2
140
Enhancing SRE Using AI
yoshiiryo1
1
130
Tokyo RubyKaigi 12 - Scaling Ruby at GitHub
jhawthorn
2
150
Windows Server 2025 へのアップグレードではまった話
tamaiyutaro
2
240
横断SREの立ち上げと、AWSセキュリティへの取り組みの軌跡
rvirus0817
3
3.7k
Microsoft Ignite 2024 最新情報!Microsoft 365 Agents SDK 概要 / Microsoft Ignite 2024 latest news Microsoft 365 Agents SDK overview
karamem0
0
170
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
4 Signs Your Business is Dying
shpigford
182
22k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
6
210
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
KATA
mclloyd
29
14k
How to train your dragon (web standard)
notwaldorf
89
5.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
370
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.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