Simple Self-Hosted Hasura

Photo by Jan Antonin Kolar on Unsplash
  1. Create a droplet on Digital Ocean by clicking the green create button in the upper left corner by your account.
Creating a droplet on digital ocean
Setting a root password on digital ocean droplet.
value then got Adding a domain on digital ocean droplet.
  1. ssh into your digital ocean droplet, by opening a new terminal window and typing ssh root@yourip (you can use root@graphql.yourdomain.com once the name changes are propogated)
  2. clone the starter repo with git clone https://github.com/hasura/graphql-engine.git
  3. cd into the docker compose https manifest (this sets up https encryption by default)
cd graphql-engine/install-manifests/docker-compose-https/
api.yourdomain.app {
reverse_proxy graphql-engine:8080
}
# HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey

--

--

--

Web/Mobile Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Accidentally Engineering Manager

Labs :- Unified networking using Calico

HackerRank Question: Find the Runner-Up Score

Lazy loading feature of Code Splitting technique in React

Lazy Loading through Code Splitting

The lesson that made me understand software development

How To: Collecting and Forwarding PowerShell logs via Event Log and via Event Tracing for Windows…

Pando Software x IM community AMA RECAP

New Zap Desktop, Zap iOS and what’s next

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jeff Lombard

Jeff Lombard

Web/Mobile Developer

More from Medium

Jasmine Unit Tests Setup with Code Coverage for Node JS

Integrating Dynamic Databases in Static Webpages

Require function in Node.js

Tailwind Devtools Inspector — How to quickly edit tailwind classes and apply tailwind templates —…