Skip to content

Commit 639e145

Browse files
committed
Restore docker-compose airflow configuration from official airflow docker-compose
1 parent 48c8703 commit 639e145

5 files changed

Lines changed: 191 additions & 822 deletions

File tree

compose/app-compose-airflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ volumes:
5050
# AIRFLOW GLOBAL
5151
#================================================================================================
5252
x-airflow-common: &airflow-common
53-
image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:2.2.2}
53+
image: ${AIRFLOW_IMAGE_NAME:-devopscorner/airflow:2.5.0}
5454
environment: &airflow-common-env
5555
AIRFLOW__CORE__EXECUTOR: CeleryExecutor
5656
AIRFLOW__CORE__SQL_ALCHEMY_CONN: postgresql+psycopg2://airflow:airflow@postgresql/airflow
@@ -63,7 +63,7 @@ x-airflow-common: &airflow-common
6363
_PIP_ADDITIONAL_REQUIREMENTS: ${_PIP_ADDITIONAL_REQUIREMENTS:-}
6464
AWS_ACCESS_KEY_ID: "AWS_ACCESS_KEY_ID"
6565
AWS_SECRET_ACCESS_KEY: "AWS_SECRET_ACCESS_KEY"
66-
AWS_DEFAULT_REGION: "ap-southeast-1"
66+
AWS_DEFAULT_REGION: "ap-southeast-3"
6767
volumes:
6868
- vol_airflow_dags:/opt/airflow/dags
6969
- vol_airflow_logs:/opt/airflow/logs
@@ -95,7 +95,7 @@ services:
9595
ports:
9696
- "${PORT_PORTAINER:-5212}:9000"
9797
volumes:
98-
# - /etc/localtime:/etc/localtime:ro ## Do not use it in mac
98+
# - /etc/localtime:/etc/localtime:ro ## Do not use it in mac
9999
- /var/run/docker.sock:/var/run/docker.sock ## Do not use it in k8s
100100
- vol_portainer:/data
101101
environment:
@@ -138,7 +138,7 @@ services:
138138
ports:
139139
- "${PORT_POSTGRESQL:-5432}:5432"
140140
volumes:
141-
# - /etc/localtime:/etc/localtime:ro ## Do not use it in mac
141+
# - /etc/localtime:/etc/localtime:ro ## Do not use it in mac
142142
- /var/run/docker.sock:/var/run/docker.sock ## Do not use it in k8s
143143
- vol_postgres14:/var/lib/postgresql
144144
command: postgres -c shared_preload_libraries=pg_stat_statements -c pg_stat_statements.track=all -c max_connections=200

0 commit comments

Comments
 (0)