Skip to content

Commit

Permalink
infra: use default docker compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Jun 17, 2024
1 parent f4252f8 commit d685cee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
2 changes: 0 additions & 2 deletions pollution_v2/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@
# Default: ''
#
# Feel free to modify this file to suit your needs.
version: "3.7"


x-airflow-common:
&airflow-common
Expand Down
2 changes: 0 additions & 2 deletions pollution_v2/infrastructure/docker-compose.build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.7"

services:
app:
image: ${DOCKER_IMAGE}:${DOCKER_TAG}
Expand Down
15 changes: 1 addition & 14 deletions pollution_v2/infrastructure/docker-compose.run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ x-airflow-common:
# AIRFLOW__CORE__MAX_ACTIVE_TASKS_PER_DAG: 4
NO_PROXY: '*'
volumes:
- ${AIRFLOW_PROJ_DIR:-.}/src:/opt/airflow/dags
- ${AIRFLOW_PROJ_DIR:-.}/airflow/logs:/opt/airflow/logs
- pollution-logs:/opt/airflow/logs
user: "${AIRFLOW_UID:-50000}:0"
depends_on:
&airflow-common-depends-on
Expand All @@ -58,18 +57,6 @@ x-airflow-common:
condition: service_healthy

services:
x-airflow-common:
&airflow-common
volumes:
- pollution-logs:/opt/airflow/logs
user: "${AIRFLOW_UID:-50000}:0"
depends_on:
&airflow-common-depends-on
redis:
condition: service_healthy
postgres:
condition: service_healthy

postgres:
image: postgres:13
environment:
Expand Down

0 comments on commit d685cee

Please sign in to comment.