Deploying

Your Dumb Ideas

With Dokku

Who am I?

Dave Smith-Hayes

  • Developer
  • Father
  • JavaScript Enjoyer
  • Web Software Deployer

What is deploying?

Releasing software to be used.

How it works for Web

  • Have a DNS record point to an IP
  • Have a webserver runnning at that IP
  • Have that webserver proxy requests to the application

My history of deploying

  • cPanel File Manager
  • FTP to Shared Hosting
  • $ git pull
  • Jenkins & Ansible build VM Images
  • Packer & Terraform build Continers

Doing it Yourself

  • A domain
  • A server with a public IP address
  • A webserver
  • Patience

Dokku

Self-hosted platform as a service

Your very own Heroku

What Dokku Does

  • Creates a dokku user on your system
  • Installs all the services for running Dokku
    • Docker
    • NGiNX

Anatomy of the Server

  • Linode VPS
  • Debian

Anatomy of the Application

  • Hono Web Server Application
  • Mithril.js Frontend Application
  • Dockerized