Introduction to Dokku

Introduction to Dokku

lightning talk given in the Ruby User Group in Berlin

570a76d7545a0ae4b693ffee5435717e?s=128

José Tomás Albornoz

August 06, 2015
Tweet

Transcript

  1. deploying ruby by mojo

  2. deploying ruby by @eljojo

  3. deploy ruby • PaaS: • heroku • elastic beanstalk •

    anynines
  4. deploy ruby • do it yourself: • capistrano • docker

    images with docker files • puppet
  5. dokku is + =

  6. how does it work? • git push

  7. how does it work? • git push • dokku compiles

    app using heroku's buildpacks
  8. how does it work? • git push • dokku compiles

    app using heroku's buildpacks • dokku creates docker container and points nginx to it
  9. how does it work? • yay!

  10. how can i hack it? • how to support multiple

    servers?
  11. multiple servers • machine a: • receives git push and

    compiles docker image • pushes image to docker registry
  12. 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
  13. 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
  14. multiple servers • profit

  15. @eljojo