Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Introduction to Dokku
José Tomás Albornoz
August 06, 2015
Programming
1
120
Introduction to Dokku
lightning talk given in the Ruby User Group in Berlin
José Tomás Albornoz
August 06, 2015
Tweet
Share
More Decks by José Tomás Albornoz
See All by José Tomás Albornoz
eljojo
0
99
eljojo
0
45
eljojo
0
420
eljojo
0
140
Other Decks in Programming
See All in Programming
hyodol2513
0
630
line_developers_tw2
0
4.8k
xrdnk
0
170
deepflow
9
3.5k
meemeelab
0
300
pluu
0
560
mihyaeru21
0
370
takahi5
3
170
sansuke05
1
140
borkdude
2
210
kimyan
3
450
temoki
2
220
Featured
See All Featured
akmur
252
19k
sferik
610
55k
danielanewman
1
520
ddemaree
273
31k
imathis
479
150k
lara
590
61k
brianwarren
82
4.7k
erikaheidi
14
4.3k
bkeepers
321
53k
revolveconf
200
9.7k
paulrobertlloyd
72
1.4k
keithpitt
401
20k
Transcript
deploying ruby by mojo
deploying ruby by @eljojo
deploy ruby • PaaS: • heroku • elastic beanstalk •
anynines
deploy ruby • do it yourself: • capistrano • docker
images with docker files • puppet
dokku is + =
how does it work? • git push
how does it work? • git push • dokku compiles
app using heroku's buildpacks
how does it work? • git push • dokku compiles
app using heroku's buildpacks • dokku creates docker container and points nginx to it
how does it work? • yay!
how can i hack it? • how to support multiple
servers?
multiple servers • machine a: • receives git push and
compiles docker image • pushes image to docker registry
multiple servers • machine a: • receives git push and
compiles docker image • pushes image to docker registry • machine b: • receives image from docker registry • updates nginx
multiple servers • machine a: • receives git push and
compiles docker image • pushes image to docker registry • machine b: • receives image from docker registry • updates nginx
multiple servers • profit
@eljojo