Skip to content

Commit

Permalink
chore(docker-compose): add comment
Browse files Browse the repository at this point in the history
Th src code and the test folders don't need to be  mapped into container in production. Src code is bundled into the docker image.
  • Loading branch information
nitaibezerra committed Mar 21, 2023
1 parent aefdac9 commit 72dc7f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@

AIRFLOW_CONN_EXAMPLE_DATABASE_CONN: postgresql://airflow:airflow@postgres:5432/airflow
volumes:
- ./src:/opt/airflow/dags/ro_dou
- ./src:/opt/airflow/dags/ro_dou # for development purpose
- ./dag_confs:/opt/airflow/dags/ro_dou/dag_confs
- ./tests:/opt/airflow/tests
- ./tests:/opt/airflow/tests # for test purpose
depends_on:
postgres:
condition: service_healthy
Expand Down

0 comments on commit 72dc7f6

Please sign in to comment.