As I mentioned in my first post Hello, World, I wanted to switch from Heroku to DigitalOcean. Well, I have finally made that switch. During the Coronavirus outbreak I had some extra time so I thought to invest it to make the long-awaited transition. Better now than never right. I mean Hello, World post was written in 2016 !!
Under the hood, this project runs on Dokku which provides us the same workflow which Heroku provides. Configuring everything was a bit of hassle but the things worked out fine eventually.
What is Dokku?
Dokku is a docker-powered PaaS that helps build and manage the lifecycle of applications. Dokku provides a simple, hackable build environment for developers to quickly get their code from their laptops into the cloud.
Dokku is open-source and free. It is rich in features and control. Dokku can be hosted on a $5 DigitalOcean droplet and we can make the most out of this architecture.
Some of the noticeable features that Dokku provides out of the box are -
- Git deployment
- DNS configuration for our applications
- A Heroku-ish command-line interface
- Inbuilt Proxy management with Nginx
- It has a very useful set of plugins like Let's Encrypt, PostgreSQL and Redis.
Looking forward to playing around with Dokku a little more and try to harness its utmost potential.