SHELL = /bin/bash -o pipefail ROOT_DIR=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) MIGRATIONS_DIR=$(SRC_DIR)/files/migrations migrate: @docker-compose up -d @docker run -v $(MIGRATIONS_DIR):/migrations --network host migrate/migrate -path=/migrations/ -database "clickhouse://localhost:8123?username=default&password=default&database=default" up all @docker-compose stop up: @docker-compose up