$30 off During Our Annual Pro Sale. View Details »

Introduction to Dokku

Introduction to Dokku

lightning talk given in the Ruby User Group in Berlin

José Tomás Albornoz

August 06, 2015
Tweet

More Decks by José Tomás Albornoz

Other Decks in Programming

Transcript

  1. deploying ruby
    by mojo

    View Slide

  2. deploying ruby
    by @eljojo

    View Slide

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

    View Slide

  4. deploy ruby
    • do it yourself:
    • capistrano
    • docker images with docker files
    • puppet

    View Slide

  5. dokku is
    +
    =

    View Slide

  6. how does it work?
    • git push

    View Slide

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

    View Slide

  8. how does it work?
    • git push
    • dokku compiles app using heroku's buildpacks
    • dokku creates docker container and points nginx to it

    View Slide

  9. how does it work?
    • yay!

    View Slide

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

    View Slide

  11. multiple servers
    • machine a:
    • receives git push
    and compiles
    docker image
    • pushes image to
    docker registry

    View Slide

  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

    View Slide

  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

    View Slide

  14. multiple servers
    • profit

    View Slide

  15. @eljojo

    View Slide