![]() We can also test that we can use the Airflow REST API by running the following script (here I am using the default credentials that mwaa-local-runner sets up, so if you change this update it to reflect your credentials) curl -verbose ' -H 'content-type: application/json' -user "admin:test" The default username and password for the project is admin/test, as documented in the project README.md.Ĭhanging the default username and password! If you want to change the default, you can edit the /docker/script/entrypoint.sh file which is where this is configured. ![]() After a few minutes, you should now have Airflow up and running on your localhost on port 8080. You should see the output of this in the terminal you ran the command, and if you have the Docker VSCode plugin, you will also see this appear here. You will notice that a number of Docker containers will now spin up to build your local Airflow environment. Now that we know which local folders we can use to intereact with Apache Airflow, we can start mwaa-local-runner using the following command. In my environment I copy a single test DAG into the “dags” folder so I can make sure that everything is working.
0 Comments
Leave a Reply. |