I had written a dockerized rest API server with a docker-compose. Everything was running fine locally, so now it was time to deploy it. Heroku is my platform of choice, but after looking up a bit I found that it does not support docker-compose. So in this article, we will be deploying docker and setting up a database on Heroku.
Note: This article requires that you have a containerized web application setup locally. If you do not, you may clone the sample repository as follows
$ git clone https://github.com/Sparsh759/Golang-Server-Sample.git