From ea160b53df00ba6a1dd52429f03c1a66b5854672 Mon Sep 17 00:00:00 2001 From: Tudor Date: Thu, 26 Mar 2026 17:09:17 +0000 Subject: [PATCH] fix(airflow): point scheduler to api-server via INTERNAL_API_URL With separate containers, task workers in the scheduler need the api-server's address for the Execution API. Defaults to localhost:8080 which fails across containers. Set INTERNAL_API_URL to the api-server's Docker service name. Co-Authored-By: Claude Opus 4.6 --- docker-compose.portainer.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.portainer.yml b/docker-compose.portainer.yml index 99e39df..baf724d 100644 --- a/docker-compose.portainer.yml +++ b/docker-compose.portainer.yml @@ -232,6 +232,7 @@ services: AIRFLOW__CORE__DAGS_FOLDER: /opt/pipeline/dags AIRFLOW__CORE__LOAD_EXAMPLES: "false" AIRFLOW__CORE__SECRET_KEY: "school-compare-airflow-secret-key-that-is-long-enough-for-sha512-jwt-signing" + AIRFLOW__CORE__INTERNAL_API_URL: http://airflow-api-server:8080 AIRFLOW__LOGGING__BASE_LOG_FOLDER: /opt/airflow/logs PG_HOST: sc_database PG_PORT: "5432"