Skip to content

Commit

Permalink
godon airflow share logs
Browse files Browse the repository at this point in the history
Let scheduler/controller and workers share logs, otherwise logs cannot
be looked up via logging ui.
  • Loading branch information
cherusk committed Nov 18, 2023
1 parent 1d26e4b commit 84cf954
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ services:
volumes:
- ./testing/infra/credentials/ssh/:/opt/airflow/credentials/
- ./breeder/dags:/opt/airflow/dags/
- airflow-logs-volume:/opt/airflow/logs/
ports:
- 127.0.0.1:8080:8080
meta_data_db:
Expand Down Expand Up @@ -173,6 +174,7 @@ services:
replicas: 2
volumes:
- ./breeder/dags:/opt/airflow/dags/
- airflow-logs-volume:/opt/airflow/logs/
# for optuna parallel metaheuristics execution on dask
dask_scheduler:
build:
Expand Down Expand Up @@ -244,3 +246,4 @@ volumes:
postgres-db-volume:
postgres-locking-db-volume:
postgres-meta-data-db-volume:
airflow-logs-volume:

0 comments on commit 84cf954

Please sign in to comment.