From 44c051247f20c2d562051782c5e0d27f16f8e87f Mon Sep 17 00:00:00 2001 From: Maennel Date: Wed, 2 Dec 2020 10:42:44 +0100 Subject: [PATCH 1/2] change date in tuto.py dag to current date --- dags/tuto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/tuto.py b/dags/tuto.py index cead2b61..8aeda3f3 100644 --- a/dags/tuto.py +++ b/dags/tuto.py @@ -10,7 +10,7 @@ default_args = { "owner": "airflow", "depends_on_past": False, - "start_date": datetime(2015, 6, 1), + "start_date": datetime(2020, 12, 2), "email": ["airflow@airflow.com"], "email_on_failure": False, "email_on_retry": False, From d74d10a63493d0d758cfab89ac792171f86f433a Mon Sep 17 00:00:00 2001 From: Maennel Date: Fri, 4 Dec 2020 17:51:25 +0100 Subject: [PATCH 2/2] add docker.md file documenting docker commands --- docker.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docker.md diff --git a/docker.md b/docker.md new file mode 100644 index 00000000..d4caf24e --- /dev/null +++ b/docker.md @@ -0,0 +1,19 @@ +# Useful docker commands + +## Docker up + +Initially and after code changes: + +``` +docker-compose -f docker-compose-LocalExecutor.yml up -d +``` + +## Docker down + +To reset the databases: + +the connections need to be created again after a `docker down`. + +``` +docker-compose -f docker-compose-LocalExecutor.yml down +```