From 58257e32140a0347e98b0e7085a6de4f6a5eb4a3 Mon Sep 17 00:00:00 2001 From: PascalEgn Date: Mon, 2 Sep 2024 11:33:47 +0200 Subject: [PATCH] make: update to docker compose v2 --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 88cf6850..c782ac23 100644 --- a/Makefile +++ b/Makefile @@ -8,23 +8,23 @@ export AIRFLOW_PROJ_DIR=$(AIRFLOW_HOME) all: run run: - docker-compose up + docker compose up clean: - docker-compose down + docker compose down init: backoffice-init workflows-init backoffice-init: - docker-compose exec backoffice-webserver python manage.py create_groups - docker-compose exec backoffice-webserver python manage.py loaddata backoffice/users/fixtures/users.json - docker-compose exec backoffice-webserver python manage.py loaddata backoffice/users/fixtures/tokens.json + docker compose exec backoffice-webserver python manage.py create_groups + docker compose exec backoffice-webserver python manage.py loaddata backoffice/users/fixtures/users.json + docker compose exec backoffice-webserver python manage.py loaddata backoffice/users/fixtures/tokens.json echo "\033[1;32memail: admin@admin.com / password: admin \033[0m" echo "Backoffice initialized" workflows-init: - docker-compose exec airflow-webserver /entrypoint airflow connections import ./scripts/connections/connections.json - docker-compose exec airflow-webserver /entrypoint airflow variables import ./scripts/variables/variables.json + docker compose exec airflow-webserver /entrypoint airflow connections import ./scripts/connections/connections.json + docker compose exec airflow-webserver /entrypoint airflow variables import ./scripts/variables/variables.json echo "\033[31mCHANGE inspire_token in Admin->Variables\033[0m" echo "\033[1;32musername: airflow / password: airflow \033[0m" echo "Workflows initialized"