diff --git a/Makefile b/Makefile index 233e320..6d3aaa1 100644 --- a/Makefile +++ b/Makefile @@ -3,46 +3,46 @@ VOLUME=$(shell basename $(PWD)) develop: clean build migrations.upgrade run clean: - docker-compose rm -vf + docker compose rm -vf build: - docker-compose build + docker compose build run: - docker-compose up + docker compose up frontend-shell: - docker-compose run frontend \ + docker compose run frontend \ sh backend-shell: - docker-compose run worker \ + docker compose run worker \ sh python-shell: - docker-compose run worker \ + docker compose run worker \ poetry run flask shell postgres.data.delete: clean docker volume rm $(VOLUME)_postgres postgres.start: - docker-compose up -d postgres - docker-compose exec postgres \ + docker compose up -d postgres + docker compose exec postgres \ sh -c 'while ! nc -z postgres 5432; do sleep 0.1; done' migrations.blank: postgres.start - docker-compose run worker \ + docker compose run worker \ poetry run flask db revision migrations.create: postgres.start - docker-compose run worker \ + docker compose run worker \ poetry run flask db migrate migrations.upgrade: postgres.start - docker-compose run worker \ + docker compose run worker \ poetry run flask db upgrade migrations.heads: postgres.start - docker-compose run worker \ + docker compose run worker \ poetry run flask db heads