{
  "schema_version": 1,
  "generated_at": "2026-10-22T00:00:00.000Z",
  "canonical_url": "https://openlogs.fyi/tools/hasura",
  "slug": "hasura",
  "name": "Hasura",
  "tagline": "Serves a GraphQL API over PostgreSQL and other data sources.",
  "replaces": {
    "summary": "Paid managed GraphQL API services, such as AWS AppSync.",
    "products": [
      {
        "slug": "aws-appsync",
        "name": "AWS AppSync",
        "vendor": "Amazon",
        "url": "https://openlogs.fyi/alternatives/aws-appsync"
      }
    ]
  },
  "stack": [
    {
      "kind": "language",
      "name": "TypeScript"
    },
    {
      "kind": "database",
      "name": "PostgreSQL"
    }
  ],
  "deployment_methods": [
    "docker_compose"
  ],
  "requirements": {
    "min_ram_mb": null,
    "min_cpu_cores": null,
    "source_url": null
  },
  "license": {
    "spdx": "Apache-2.0",
    "class": "osi",
    "source_url": "https://github.com/hasura/graphql-engine/blob/21c41c8890535df5be9ac86e47561471717a805f/LICENSE"
  },
  "business_model": {
    "value": "unknown",
    "notes": "The README at the pinned commit does not state a business model, so it stays unknown.",
    "source_url": "https://github.com/hasura/graphql-engine/blob/21c41c8890535df5be9ac86e47561471717a805f/README.md",
    "checked_at": "2026-10-22"
  },
  "difficulty": {
    "value": "easy",
    "reason": "3 services (1 database or broker: postgres), 1 volume mount, no env values to set, no elevated host access. Heuristic score 2 of 11: easy."
  },
  "repository": {
    "owner": "hasura",
    "name": "graphql-engine",
    "url": "https://github.com/hasura/graphql-engine"
  },
  "compose_check": {
    "status": "config_ok",
    "validated_at": "2026-10-22",
    "summary": "config_ok on 2026-10-22"
  },
  "recipe": {
    "version": 1,
    "source_path": "install-manifests/docker-compose/docker-compose.yaml",
    "source_repo": "hasura/graphql-engine",
    "source_commit_sha": "21c41c8890535df5be9ac86e47561471717a805f",
    "source_kind": "app_repo",
    "source_url": "https://github.com/hasura/graphql-engine/blob/21c41c8890535df5be9ac86e47561471717a805f/install-manifests/docker-compose/docker-compose.yaml"
  },
  "install_steps": [
    {
      "order": 1,
      "kind": "prerequisite",
      "language": "text",
      "label": "Docker with the Compose plugin",
      "body": "A host with Docker and the Docker Compose plugin. This entry runs from a compose file.",
      "source_url": "https://github.com/hasura/graphql-engine/blob/21c41c8890535df5be9ac86e47561471717a805f/install-manifests/docker-compose/docker-compose.yaml",
      "validation_status": "unvalidated"
    },
    {
      "order": 2,
      "kind": "compose",
      "language": "yaml",
      "label": "Save the compose file as docker-compose.yaml",
      "body": "services:\n  postgres:\n    image: postgres:15\n    restart: always\n    volumes:\n      - db_data:/var/lib/postgresql/data\n    environment:\n      POSTGRES_PASSWORD: postgrespassword\n  graphql-engine:\n    image: hasura/graphql-engine:v2.51.1\n    ports:\n      - \"8080:8080\"\n    restart: always\n    environment:\n      ## postgres database to store Hasura metadata\n      HASURA_GRAPHQL_METADATA_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres\n      ## this env var can be used to add the above postgres database to Hasura as a data source. this can be removed/updated based on your needs\n      PG_DATABASE_URL: postgres://postgres:postgrespassword@postgres:5432/postgres\n      ## enable the console served by server\n      HASURA_GRAPHQL_ENABLE_CONSOLE: \"true\" # set to \"false\" to disable console\n      ## enable debugging mode. It is recommended to disable this in production\n      HASURA_GRAPHQL_DEV_MODE: \"true\"\n      HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log\n      ## uncomment next line to run console offline (i.e load console assets from server instead of CDN)\n      # HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets\n      ## uncomment next line to set an admin secret\n      # HASURA_GRAPHQL_ADMIN_SECRET: myadminsecretkey\n      HASURA_GRAPHQL_METADATA_DEFAULTS: '{\"backend_configs\":{\"dataconnector\":{\"athena\":{\"uri\":\"http://data-connector-agent:8081/api/v1/athena\"},\"mariadb\":{\"uri\":\"http://data-connector-agent:8081/api/v1/mariadb\"},\"mysql\":{\"uri\":\"http://data-connector-agent:8081/api/v1/mysql\"},\"oracle\":{\"uri\":\"http://data-connector-agent:8081/api/v1/oracle\"},\"snowflake\":{\"uri\":\"http://data-connector-agent:8081/api/v1/snowflake\"}}}}'\n    depends_on:\n      data-connector-agent:\n        condition: service_healthy\n  data-connector-agent:\n    image: hasura/graphql-data-connector:v2.51.1\n    restart: always\n    ports:\n      - 8081:8081\n    environment:\n      QUARKUS_LOG_LEVEL: ERROR # FATAL, ERROR, WARN, INFO, DEBUG, TRACE\n      ## https://quarkus.io/guides/opentelemetry#configuration-reference\n      QUARKUS_OPENTELEMETRY_ENABLED: \"false\"\n      ## QUARKUS_OPENTELEMETRY_TRACER_EXPORTER_OTLP_ENDPOINT: http://jaeger:4317\n    healthcheck:\n      test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:8081/api/v1/athena/health\"]\n      interval: 5s\n      timeout: 10s\n      retries: 5\n      start_period: 5s\nvolumes:\n  db_data:\n",
      "source_url": "https://github.com/hasura/graphql-engine/blob/21c41c8890535df5be9ac86e47561471717a805f/install-manifests/docker-compose/docker-compose.yaml",
      "validation_status": "config_ok"
    },
    {
      "order": 3,
      "kind": "shell",
      "language": "bash",
      "label": "Start it",
      "body": "docker compose up -d",
      "source_url": "https://github.com/hasura/graphql-engine/blob/21c41c8890535df5be9ac86e47561471717a805f/install-manifests/docker-compose/docker-compose.yaml",
      "validation_status": "unvalidated"
    },
    {
      "order": 4,
      "kind": "verify",
      "language": "text",
      "label": "Open the app",
      "body": "Open http://localhost:8080. The compose file publishes host port 8080 for the graphql-engine service.",
      "source_url": "https://github.com/hasura/graphql-engine/blob/21c41c8890535df5be9ac86e47561471717a805f/install-manifests/docker-compose/docker-compose.yaml",
      "validation_status": "unvalidated"
    }
  ],
  "notes": [
    {
      "kind": "gotcha",
      "title": "The compose file publishes host ports",
      "body": "Host ports: 8080 (graphql-engine), 8081 (data-connector-agent). A port without a host address listens on all host network interfaces.",
      "source_url": "https://github.com/hasura/graphql-engine/blob/21c41c8890535df5be9ac86e47561471717a805f/install-manifests/docker-compose/docker-compose.yaml",
      "checked_at": "2026-10-22"
    }
  ],
  "signals": {
    "captured_at": "2026-10-22",
    "stars": 32123,
    "forks": 2967,
    "open_issues": 2365,
    "last_push": "2026-10-22",
    "days_since_push": 0,
    "latest_release": "v2.51.1",
    "latest_release_date": "2026-10-20",
    "days_since_release": 1
  },
  "links": {
    "html": "https://openlogs.fyi/tools/hasura",
    "markdown": "https://openlogs.fyi/tools/hasura.md",
    "json": "https://openlogs.fyi/tools/hasura.json"
  },
  "updated_at": "2026-10-22"
}
