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
150
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
41
O DevOps Acabou (FiqueEmCasaConf 2020)
wsilva
1
69
DevOps em Times distribuídos (DevOpsDays Recife 2019)
wsilva
0
61
Linux contêineres na unha (TDC Porto Alegre 2019)
wsilva
1
31
DevOps em Times distribuídos (DevOpsDays Campinas 2019)
wsilva
1
370
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
74
Other Decks in Technology
See All in Technology
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
2
330
.NET 9 のパフォーマンス改善
nenonaninu
0
850
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
280
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1.1k
マルチプロダクト開発の現場でAWS Security Hubを1年以上運用して得た教訓
muziyoshiz
2
2.2k
コンテナセキュリティのためのLandlock入門
nullpo_head
2
320
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
480
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
170
第3回Snowflake女子会_LT登壇資料(合成データ)_Taro_CCCMK
tarotaro0129
0
190
Amazon SageMaker Unified Studio(Preview)、Lakehouse と Amazon S3 Tables
ishikawa_satoru
0
150
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Making the Leap to Tech Lead
cromwellryan
133
9k
It's Worth the Effort
3n
183
28k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
Into the Great Unknown - MozCon
thekraken
33
1.5k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
49k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
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