Diese Präsentation wurde erfolgreich gemeldet.
Die SlideShare-Präsentation wird heruntergeladen. ×

Dokku your own heroku 21

Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Nächste SlideShare
Git+jenkins+rex presentation
Git+jenkins+rex presentation
Wird geladen in …3
×

Hier ansehen

1 von 60 Anzeige

Weitere Verwandte Inhalte

Diashows für Sie (20)

Ähnlich wie Dokku your own heroku 21 (20)

Anzeige

Aktuellste (20)

Anzeige

Dokku your own heroku 21

  1. 1. Dokku - Your Own Heroku Oleksandr Simonov
  2. 2. ABOUT ME ● Open Source projects: rubyzip, roo, amoeba, capistrano-runit ● Programming Languages: Ruby, JS, Go, Erlang, Perl, PHP, Pascal, asm ● Operation Systems: MacOS, Gentoo, Arch, Ubuntu, Windows ● Terminal: iTerm2, urxvt ● Editor: vim, vscode ● Shell: zsh
  3. 3. AGENDA ● Short history about application deployment ● Docker and containers revolution ● Development environment ● Why Dokku? ● Issues and recipes ● Questions
  4. 4. DEPLOYMENT Software deployment is all of the activities that make a software system available for use
  5. 5. Manual File Upload Very simple and monkey job process via ftp, sftp, etc.
  6. 6. Manual File Upload Very simple and monkey job process via ftp, sftp, etc.
  7. 7. Direct Edit ON Server Very simple and unstable process
  8. 8. Direct Edit ON Server Very simple and unstable process
  9. 9. Automated process with manual run Capistrano, vlad, mina, etc.
  10. 10. Automated process with manual run Capistrano, vlad, mina, etc.
  11. 11. Heroku git push
  12. 12. Heroku git push
  13. 13. Docker Containerization revolution
  14. 14. containerization Containerization is a system of intermodal freight transport using intermodal containers
  15. 15. Why Docker is so good? Why I still need to talk about it in 2019?!
  16. 16. Transport Cargo Pre 1960
  17. 17. Transport Cargo Pre 1960 - Matrix from Hell
  18. 18. Intermodal Shipping Container
  19. 19. Somewhere… junior dev talks to team lead…
  20. 20. Development Environment A development environment is a collection of procedures and tools for developing, testing and debugging an application or program.
  21. 21. Development Environment DEV STAGING PROD DEV STAGING PROD Code DB
  22. 22. Local dev environment max 5-10 minutes on start
  23. 23. Staging environment zero admin required
  24. 24. Production Environment Code must able to run everywhere within minimal time
  25. 25. All main providers costs a lot money! In case of staging environment
  26. 26. Dokku Fast and simple alternative of any paid PaaS
  27. 27. Why Dokku?!
  28. 28. Small - 262 lines of code
  29. 29. Your own PaaS - you can install it on any hardware/virtual server/etc
  30. 30. Your own PaaS - you can install it on any hardware/virtual server/etc
  31. 31. Deployment via git push
  32. 32. Heroku compatible with Herokuish
  33. 33. A lot of plugins which helps you
  34. 34. Instant domains
  35. 35. SSL by Let’s Encrypt
  36. 36. Are there no issues?!
  37. 37. NO!
  38. 38. Common issues ● Limited access rules
  39. 39. Common issues ● Limited access rules ● Unavailability to change docker options for database services
  40. 40. Common issues ● Limited access rules ● Unavailability to change docker options for database services ● No tools for interconnection between apps
  41. 41. Common issues ● Limited access rules ● Unavailability to change docker options for database services ● No tools for interconnection between apps ● No command line tools
  42. 42. Common issues ● Limited access rules ● Unavailability to change docker options for database services ● No tools for interconnection between apps ● No command line tools ● No scalability to more than one host system
  43. 43. Common issues ● Limited access rules ● Unavailability to change docker options for database services ● No tools for interconnection between apps ● No command line tools ● No scalability to more than one host system ● No wildcard domains support
  44. 44. Docker options for DB
  45. 45. Interconnection between containers
  46. 46. Wildcard domains ● Simplify dokku generated nginx file via custom nginx.conf.sigil in your root application folder ● Set the custom nginx virtual host config on host system ● Forget about lets-encrypt plugin

×