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
40
O DevOps Acabou (FiqueEmCasaConf 2020)
wsilva
1
68
DevOps em Times distribuídos (DevOpsDays Recife 2019)
wsilva
0
60
Linux contêineres na unha (TDC Porto Alegre 2019)
wsilva
1
31
DevOps em Times distribuídos (DevOpsDays Campinas 2019)
wsilva
1
360
Swarm vs Kubernetes (PHPeste 2019)
wsilva
0
130
O DevOps Acabou (Startup Summit 2019)
wsilva
1
320
Infra top com GitOps (Meetup Docker SP #27)
wsilva
0
69
Other Decks in Technology
See All in Technology
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
590
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
12k
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
TypeScript、上達の瞬間
sadnessojisan
46
13k
Adopting Jetpack Compose in Your Existing Project - GDG DevFest Bangkok 2024
akexorcist
0
110
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
120
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.7k
Introduction to Works of ML Engineer in LY Corporation
lycorp_recruit_jp
0
120
Can We Measure Developer Productivity?
ewolff
1
150
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Faster Mobile Websites
deanohume
305
30k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
Done Done
chrislema
181
16k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
We Have a Design System, Now What?
morganepeng
50
7.2k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
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