Video coming soon…
💻 Setup Hasura — Instant GraphQL API over PostgreSQL
Deploy Hasura on Ubuntu with Docker — an engine that generates a production-ready GraphQL API over your PostgreSQL database automatically, with a generated admin secret, on port 8241.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/hasura/hasura-ubuntu.sh
chmod +x hasura-ubuntu.sh
./hasura-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/dev/hasura/hasura-ubuntu.sh
2 Make it Executable
chmod +x hasura-ubuntu.sh
3 Run the Installer
./hasura-ubuntu.sh
4 Open the Console
http://your-server-ip:8241/console
Ports Used
| Port | Purpose |
|---|---|
| 8241 | Hasura GraphQL API and web console at /console (mapped from container port 8080) |
| 5432 | PostgreSQL — internal to the Docker network, not exposed to the host |