Fast and beautiful API request builder. .
Hasura
Apache-2.0 Docker Ready ★ 32,128 Stars Active · 2026-11-19Fast, instant realtime GraphQL APIs on Postgres with fine grained access control, also trigger webhooks on database events. .
- Tech Stack / Runtime
- Haskell/Docker/K8S · TypeScript
- Open-Source License
- Apache-2.0
- GitHub Health
- ★ 32,128 · 2,959 forks
Commercial SaaS Replaced
Head-to-Head Comparisons
Quick Docker Compose Reference for Hasura
# This file extends the base Docker Compose files to make manual testing easy.
#
# Run the following to get started:
#
# docker compose up -d
#
# That will start up services in the background. To take them down, you have to
# run:
#
# docker compose down
#
# If you changed DB init scripts, then you should also run:
#
# docker compose down -v
#
# That'll delete the volumes. Otherwise e.g. PostgreSQL will skip initializing
# if a DB already exists.
#
# If you omit `-d`, it'll run them all in the foreground, then you can stop them
# with your usual Ctrl-C terminal command.
#
# Facts:
#
# * The SERVICE PORTS numbering start at 65001, 65002, etc. to avoid bothering
# existing instances of databases.
#
# * The login credentials are, where possible, all "hasura" to avoid unnecessary
# mental overhead.
#
# * The SQL Server image will only work on macOS if you enable the relevant
# settings. Open the Docker Desktop settings, enable "Use Virtualization
# framework" in the "General" tab, and "Use Rosetta for x86/amd64 emulation on
# Apple Silicon" in the "Features in development" tab.
name: hge-manual-tests
services:
postgres:
extends:
file: docker-compose/databases.yaml
service: postgres
ports:
- "65002:5432"
environment:
POSTGRES_USER: "hasura"
POSTGRES_PASSWORD: "hasura"
POSTGRES_DB: "hasura"
volumes:
- postgres-data:/var/lib/postgresql
- ./docker-compose/postgres/init.sh:/docker-entrypoint-initdb.d/init-hasura.sh:ro
citus:
extends:
file: docker-compose/databases.yaml
service: citus
ports:
- "65004:5432"
environment:
POSTGRES_USER: "hasura"
POSTGRES_PASSWORD: "hasura"
POSTGRES_DB: "hasura"
volumes:
- citus-data:/var/lib/postgresql
- ./docker-compose/postgres/init.sh:/docker-entrypoint-initdb.d/init-hasura.sh:ro
cockroach:
extends:
file: docker-compose/databases.yaml
service: cockroach
ports:
- "65008:26257"
environment:
COCKROACH_USER: "root"
COCKROACH_DATABASE: "hasura"
volumes:
- cockroach-data:/cockroach/cockroach-data
sqlserver:
extends:
file: docker-compose/databases.yaml
service: sqlserver
ports:
- "65003:1433"
volumes:
- mssql-data:/var/opt/mssql
# ... (see full file in official GitHub repository) Hasura System Requirements & Self-Hosting Guide
Deploy Hasura (1 – 2 GB RAM) →Recommended VPS
1 – 2 GB RAM
1 – 2 vCPU · $4 – $6/mo VPS
Deployment Method
Beginner-Friendly
Docker / Docker Compose (Recommended)
Commercial Use (Apache-2.0)
Yes — widely approved for commercial and enterprise self-hosting.
Maintenance Status
Active
Last commit: 2026-11-19
Frequently Asked Questions about Hasura
Is Hasura free to self-host for commercial use?
Hasura is released under the Apache-2.0 license. Yes — widely approved for commercial and enterprise self-hosting. It has 32,128 GitHub stars and was last updated on 2026-11-19.
What VPS specifications do I need to self-host Hasura?
Based on its Haskell/Docker/K8S runtime and Software Development - API Management workload, we recommend at least 1 – 2 GB RAM and 1 – 2 vCPU (typically $4 – $6/mo VPS).
Does Hasura support Docker deployment?
Yes — Hasura supports Docker / Docker Compose (Recommended), making it beginner-friendly to spin up on any Linux VPS.
Deploy Hasura on your own VPS
Run Hasura privately with full data control. Recommended starting footprint: 1 – 2 GB RAM ($4 – $6/mo VPS).
Best Value · 1-Click Docker
1 vCPU · 4 GB RAM · 50 GB NVMe
Includes built-in Docker & Coolify templates — ideal for beginners.
Lowest Cost / Performance
2 vCPU · 4 GB RAM · 40 GB NVMe
Unbeatable EU/US cloud pricing for high-traffic self-hosted stacks.
$200 Free Credit
1 vCPU · 1 GB RAM · 25 GB SSD
Clean developer UX with 1-click Marketplace Docker droplets.
More Open-Source Software Development - API Management
View all →Microservice API Gateway and Platform. .
Evaluate, test, and ship LLM applications with a suite of observability tools to calibrate language model outputs across your dev and production lifecycle. .
Fast and scalable API Gateway. Out of the box, Tyk offers an API Management Platform with an API Gateway, API Analytics, Developer Portal and API Management Dashboard. .
High-performance API Gateway. .
Webhooks as a service that makes it super easy for API providers to send webhooks. .