In this article, we go through the process of deploying a Buffalo application to a DigitalOcean Droplet using Docker images. We will utilize the Docker Compose Tool to manage the containers and Systemd to restart our application in case of failure. Prerequisites You have developed a Buffalo application. I will be using theToodo example application. You have an account with DigitalOcean, You have created a DigitalOcean Droplet based on CoreOs Container Linux You are able to SSH into your Droplet.
Introduction to DNS, IP and Domain Name Domain Name System (DNS) are the equivalent of a network’s phonebook. They maintain human-friendly domain names and resolve these human friendly names to IP addresses. While it is easy for people to remember domain names, computers use IP addresses to communicate. Internet Protocol (IP) address is a unique identifier label assigned to each device that connects to a network whether local or external.
CoreOs Container Linux is very light in comparison with other Linux distributions and requires applications to run inside their containers. Create SSH Key Pair For Server Authentication Login to the server (Droplet) will be via SSH keys and not passwords. SSH keys come in pairs, one private and the other public. The private key is known only to you while the public key can be shared with any SSH server to which you would like to connect.