From e4620cdd76ca7930a7c6cdb4c9cea7346ccc8deb Mon Sep 17 00:00:00 2001 From: Dragos0000 Date: Thu, 8 Sep 2022 09:44:57 +0100 Subject: [PATCH] wip --- infra/airflow/docker-compose.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/infra/airflow/docker-compose.yaml b/infra/airflow/docker-compose.yaml index fa4d6eb0d..9c0877afc 100644 --- a/infra/airflow/docker-compose.yaml +++ b/infra/airflow/docker-compose.yaml @@ -53,9 +53,9 @@ x-airflow-common: &airflow-common-env IS_PRIME_ENV: 'true' AIRFLOW__CORE__EXECUTOR: CeleryExecutor - AIRFLOW__CORE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@postgres:5433/airflow - AIRFLOW__CELERY__RESULT_BACKEND: db+postgresql://airflow:airflow@postgres:5433/airflow - AIRFLOW__CELERY__BROKER_URL: redis://:@redis:6380/0 + AIRFLOW__CORE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@postgres/airflow + AIRFLOW__CELERY__RESULT_BACKEND: db+postgresql://airflow:airflow@postgres/airflow + AIRFLOW__CELERY__BROKER_URL: redis://:@redis:6379/0 AIRFLOW__CORE__FERNET_KEY: '' AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION: 'true' AIRFLOW__CORE__ENABLE_XCOM_PICKLING: "true" @@ -90,7 +90,6 @@ x-airflow-common: services: postgres: image: postgres:13 - command: -p 5433 container_name: postgres-airflow-${ENVIRONMENT} environment: POSTGRES_USER: airflow @@ -110,7 +109,7 @@ services: image: redis:7.0.4-alpine3.16 container_name: redis-airflow-${ENVIRONMENT} expose: - - 6380 + - 6379 healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s