Install Hasura on Dokku
Roger Stringer / May 28, 2021
1 min read • ––– views
Dokku is a handy PaaS service you can run on servers. I have it running on a couple Digital Ocean servers and it works nicely.
I also use Hasura a lot as my graphQL database, so being able to quickly install is very handy.
Here's a little recipe I use to set it up. First, we want to create the app and set up everything we need:
This creates the app, and the database, and configures the app to use the env vars specified.
Next, we want to pull the hasura docker image and deploy it:
Last step is to set up our SSL certs:
That's it, you now have an hasura instance running, and you can add other instances quickly by making new apps.
To update, you can replace
latest with any tag you want: