Try describing what you need:

Hasura logo

Hasura

★ 32.1k

A self-hosted alternative to Supabase

Apache License 2.0Open Source — No Paywall6 Containers — 6 containers — moderate hosting footprintSourceNo external DB4 documented maintainers

About

Hasura GraphQL Engine is an open source data access layer and GraphQL platform aimed at developers building modern applications. It exposes data through a single, composable, secure API endpoint and...

Community Ratings

No ratings yet

Features

  • single composable API endpoint
  • secure data access
  • PostgreSQL support
  • MongoDB support
  • ClickHouse support
  • MS SQL Server support
  • custom business logic connectors
  • GraphQL Engine v2
  • GraphQL Engine v3
  • data connectors

Details

Last Updated
Dec 6, 2026
Created
Jun 18, 2018
Install Methods
source
API
GRAPHQL
Runtime / Stack
HaskellDockerK8S
Deployment

Deployment: Docker Compose ✓6 Containers — moderate hosting footprintRuns as 6 containers

Run Hasura yourself

Pick how much you want to manage.

5 more ways to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host. Hostinger is a paid sponsor and is listed first.

Is this your project? Sponsor a listing

Run Hasura with Docker Compose

Compose file from the Hasura project repository.

6 services

no resource limits declared

needs persistent storage (6 volumes)

docker-compose.yaml · @ 96f68d0 · scanned Nov 3, 2026

# 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

  dc-reference-agent:
    extends:
      file: dc-agents/docker-compose.yaml
      service: dc-reference-agent

  dc-sqlite-agent:
    extends:
      file: dc-agents/docker-compose.yaml
      service: dc-sqlite-agent

volumes:
  citus-data:
  cockroach-data:
  mssql-data:
  postgres-data:

This file may be out of date. Check the Hasura documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on May 13, 2026

Alternatives to Hasura

Graphweaver logo

Graphweaver

556
Graphweaver is a code-first, self-hostable GraphQL platform for connecting multiple data sources and customizing APIs and admin UI.
API ManagementDatabase ManagementSelf Hosting Solutions+1
Details
Directus logo

Directus

38.9k
Directus is a real-time API and app dashboard for managing SQL database content.
Database ManagementCMS PlatformsLow Code Development+4
Source AvailableFOSS with Issues
Details
DreamFactory logo

DreamFactory

1.8k
DreamFactory is a self-hosted platform that provides governed API access to databases and other data sources for enterprise applications and local LLMs.
API ManagementDatabase ManagementLow Code Development+3
Details
d9 logo

d9

187
d9 is a self-hosted open data platform that provides REST and GraphQL APIs and a no-code dashboard for managing SQL databases.
Database ManagementCMS PlatformsLow Code Development+1
13 Containers
Details
Fusio logo

Fusio

2.1k
Fusio is an open source API management platform for self-hosted backend APIs, gateway routing, documentation, SDK generation, and monetization.
API ManagementCopyleft LicenseSelf Hosting Solutions+2
Details
Expressa logo

Expressa

451
Expressa is a data-driven middleware for Node.js/Express that provides admin-managed REST APIs based on JSON Schema.
CMS PlatformsAPI ManagementLow Code Development+2
Details
PocketBase logo

PocketBase

61.6k
PocketBase is an open source Go backend with an embedded SQLite database, realtime subscriptions, built-in files and user management, an admin dashboard, and a simple REST-ish API.
Low Code DevelopmentDatabase ManagementAuthentication Services+3
Details
Datasette logo

Datasette

11.8k
Datasette lets people explore data and publish it as an interactive website with an accompanying API.
Database ManagementPermissive LicenseAnalytics Tools+1
Details

Related Software

Adminer logo

Adminer

8.0k
Adminer is a full-featured database management tool written in PHP, delivered as a single-file deployment for server-side database administration.
Database ManagementPermissive LicenseCopyleft License+1
Details
Shaper logo

Shaper

1.3k
Shaper is an open source, SQL-first platform for building data dashboards, reports, and customer-facing analytics.
Analytics ToolsCopyleft LicenseDatabase Management+1
Single Container
Details
Coolify logo

Coolify

67.9k
Coolify is an open-source, self-hostable platform for managing servers, applications, and databases as an alternative to Heroku, Netlify, and Vercel.
Platform as a ServiceSelf Hosting SolutionsPermissive License+2
4 Containers
Details
Kottster logo

Kottster

1.1k
Kottster is a self-hosted Node.js admin panel for viewing and managing database data, composing dashboards, and building custom pages.
Database ManagementPermissive LicensePersonal Dashboards+2
Details