airflow standalone
You might need to run airflow standalone with sudo
if your Airflow user is not able to access the docker socket URL or pull the images in the Kind cluster.
Log in to Airflow through a web browser http://localhost:8080/
, using the user airflow
and the password described in the standalone_admin_password.txt
file.
Enable and trigger a run of the jaffle_shop_docker DAG. You will be able to see the following successful DAG run.
Specifying ProfileConfig
Starting with Cosmos 1.8.0, you can use the profile_config
argument in your Dbt DAG Docker operators to reference
profiles for your dbt project defined in a profiles.yml file. To do so, provide the file’s path via the
profiles_yml_path
parameter in profile_config
.
Note that in ExecutionMode.DOCKER
, the profile_config
is only compatible with the profiles_yml_path
approach. The profile_mapping
method will not work because the required Airflow connections cannot be accessed
within the Docker container to map them to the dbt profile.