From 04451dc7a14cb914466670d535f7ab91b4bf832b Mon Sep 17 00:00:00 2001 From: GuillemGarciaDev Date: Mon, 3 Feb 2025 13:31:57 +0100 Subject: [PATCH] fix(hasura): action base url host docker internal --- docker-compose.yml | 2 +- hasura/config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 027de0f67..b01f27c53 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: ## enable debugging mode. It is recommended to disable this in production HASURA_GRAPHQL_DEV_MODE: "true" HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log - ACTION_BASE_URL: http://localhost:3000 + ACTION_BASE_URL: http://host.docker.internal:3000 volumes: - ./hasura/metadata:/hasura-metadata ports: diff --git a/hasura/config.yaml b/hasura/config.yaml index 44771cf30..740ec7468 100644 --- a/hasura/config.yaml +++ b/hasura/config.yaml @@ -13,7 +13,7 @@ migrations_directory: migrations seeds_directory: seeds actions: kind: synchronous - handler_webhook_baseurl: http://localhost:3000 + handler_webhook_baseurl: http://host.docker.internal:3000 codegen: framework: "" output_dir: ""