Hasura
★ 32.1kA 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 yetNew this week
Read recap →Weekly Recap — Oct 9, 2026 – Oct 16, 2026Oct 16, 2026
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
- Oct 22, 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 with Docker Compose
Compose file from the Hasura project repository.
6 services
no resource limits declared
needs persistent storage (6 volumes)
docker-compose.yaml · @ 94915fe · scanned Sep 25, 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.
Tags
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
Related Software
Payload CMS
45.4k
A Next.js-native headless CMS that installs directly into an existing `/app` folder.
CMS PlatformsPermissive LicenseWebsite Builders+5
FOSS with Issues
Datasette
11.5k
Datasette is an open source tool for exploring and publishing data as an interactive website with an accompanying API.
Database ManagementAnalytics ToolsAPI Management+1
Kinto
4.4k
Kinto is a minimalist JSON storage service with synchronization and sharing abilities.
File SynchronizationPermissive LicenseSelf Hosting Solutions+3
3 Containers
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
Squidex
2.5k
An open source headless CMS and content management hub with a rich API for building custom UIs.
CMS PlatformsAPI ManagementDatabase Management+2
Chartbrew
4.1k
Chartbrew is an open-source web application for connecting to databases and APIs to create charts and dashboards.
Database ManagementAnalytics ToolsAPI Management+2
TrailBase
5.7k
TrailBase is a single-executable Firebase alternative with type-safe REST and realtime APIs, built for self-hosted applications.
Low Code DevelopmentSelf Hosting SolutionsDatabase Management+4
Graphweaver
557
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
HyperSwitch
45.4k
Composable open-source payments infrastructure for routing, retries, vaulting, reconciliation, and payment-method support.
Budgeting and FinancePermissive LicenseE-Commerce Solutions+1
30 Containers
Novu
40.2k
Novu is an open-source communication infrastructure platform for sending and managing multi-channel notifications and agent conversations through a single API.
Custom CommunicationsPermissive LicenseAutomation Tools+2
6 ContainersFOSS with Issues
Hoppscotch Community Edition
80.7k
Hoppscotch is an open source API development ecosystem for sending requests, testing responses, and collaborating on API work.
API ManagementPermissive LicenseTesting Tools+2
10 Containers
Strapi
73.4k
Strapi is an open-source, self-hosted headless CMS that helps developers build content APIs quickly and provides content creators with an editing interface.
CMS PlatformsPermissive LicenseSelf Hosting Solutions+2
2 Containers