Skip to content

Commit d8b830d

Browse files
committed
wip
1 parent 87b3d86 commit d8b830d

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

infra/airflow/docker-compose.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ x-airflow-common:
5353
&airflow-common-env
5454
IS_PRIME_ENV: 'true'
5555
AIRFLOW__CORE__EXECUTOR: CeleryExecutor
56-
AIRFLOW__CORE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@postgres/airflow
57-
AIRFLOW__CELERY__RESULT_BACKEND: db+postgresql://airflow:airflow@postgres/airflow
58-
AIRFLOW__CELERY__BROKER_URL: redis://:@redis:6379/0
56+
AIRFLOW__CORE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@postgres:5433/airflow
57+
AIRFLOW__CELERY__RESULT_BACKEND: db+postgresql://airflow:airflow@postgres:5433/airflow
58+
AIRFLOW__CELERY__BROKER_URL: redis://:@redis:6380/0
5959
AIRFLOW__CORE__FERNET_KEY: ''
6060
AIRFLOW__CORE__DAGS_ARE_PAUSED_AT_CREATION: 'true'
6161
AIRFLOW__CORE__ENABLE_XCOM_PICKLING: "true"
@@ -95,6 +95,8 @@ services:
9595
POSTGRES_USER: airflow
9696
POSTGRES_PASSWORD: airflow
9797
POSTGRES_DB: airflow
98+
expose:
99+
- 5433
98100
volumes:
99101
- postgres-db-volume:/var/lib/postgresql/data
100102
healthcheck:
@@ -109,7 +111,7 @@ services:
109111
image: redis:7.0.4-alpine3.16
110112
container_name: redis-airflow-${ENVIRONMENT}
111113
expose:
112-
- 6379
114+
- 6380
113115
healthcheck:
114116
test: ["CMD", "redis-cli", "ping"]
115117
interval: 5s

0 commit comments

Comments
 (0)