diff --git a/airflow/docker_test.go b/airflow/docker_test.go index d0becf610..46f901a99 100644 --- a/airflow/docker_test.go +++ b/airflow/docker_test.go @@ -110,7 +110,7 @@ services: - postgres environment: *common-env-vars volumes: - - airflow_home/dags:/usr/local/airflow/dags:ro + - airflow_home/dags:/usr/local/airflow/dags:z - airflow_home/plugins:/usr/local/airflow/plugins:z - airflow_home/include:/usr/local/airflow/include:z - airflow_home/tests:/usr/local/airflow/tests:z @@ -221,7 +221,7 @@ services: - postgres environment: *common-env-vars volumes: - - airflow_home/dags:/usr/local/airflow/dags:ro + - airflow_home/dags:/usr/local/airflow/dags:z - airflow_home/plugins:/usr/local/airflow/plugins:z - airflow_home/include:/usr/local/airflow/include:z - airflow_home/tests:/usr/local/airflow/tests:z diff --git a/airflow/include/composeyml.yml b/airflow/include/composeyml.yml index a89f6960d..c294c7183 100644 --- a/airflow/include/composeyml.yml +++ b/airflow/include/composeyml.yml @@ -54,7 +54,7 @@ services: - postgres environment: *common-env-vars volumes: - - {{ .AirflowHome }}/dags:/usr/local/airflow/dags:ro + - {{ .AirflowHome }}/dags:/usr/local/airflow/dags:{{ .MountLabel }} - {{ .AirflowHome }}/plugins:/usr/local/airflow/plugins:{{ .MountLabel }} - {{ .AirflowHome }}/include:/usr/local/airflow/include:{{ .MountLabel }} - {{ .AirflowHome }}/tests:/usr/local/airflow/tests:{{ .MountLabel }}