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.

Automated install script — one command deploys Hasura with PostgreSQL on port 8241 and generates a 32-character admin secret. Open the console at /console.
View on GitHub

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

PortPurpose
8241Hasura GraphQL API and web console at /console (mapped from container port 8080)
5432PostgreSQL — internal to the Docker network, not exposed to the host

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions