Episode #5

Deploy with Docker: Single-node deployment of Rails API application on VPS

Published on: Feb 12, 2017 | Video length: 9 minutes

Show Notes

In this episode we will learn how to setup an application environment (single-node stack) in a cloud using docker machine and deploy rails API application with docker & docker compose.

Rails API application that we are going to deploy is the one I wrote in Episode #4

Following are the steps to walk through,

  1. Prepare the Rails API application for deployment
  2. Create a repository on canister.io for the API application images
  3. Create a docker compose for the new deployment environment
  4. Provision a new app server machine (droplet) on digital-ocean using docker machine
  5. Deploy with docker compose and test