Setup a Local Hasura Development Environment

Jason Brown
InstructorJason Brown
Share this video with your friends

Social Share Links

Send Tweet
Published 4 years ago
Updated 4 years ago

We'll walk through using docker-compose to run Hasura and Postgres containerized. Then we'll create a Hasura project using the Hasura CLI. Finally we'll add in a database URL using environment variables using the multiple database connection ability with Hasura.

Shawn Stern
Shawn Stern
~ 3 years ago

Interesting, I'm unable to add the database when accessing the Hasura console generated by hasura console with this setup... (Lots of Go errors).

If I access the exact same setup via http://localhost:8080/, Hasura can connect to the database just fine using the env var. Puzzling to me 😅

Shawn Stern
Shawn Stern
~ 3 years ago

Ex following steps 1-3 @ https://hasura.io/docs/latest/graphql/core/getting-started/docker-simple.html work just fine, sans the Hasura CLI.

Markdown supported.
Become a member to join the discussionEnroll Today