diff --git a/Makefile b/Makefile index 027dc2b..d28a8a2 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ # --- Profiles management --- # Usage: make up p=rag,meili -p ?= core +p ?= full PROFILES_PARAM := COMPOSE_PROFILES=$(p) # --- Commands --- @@ -16,8 +16,8 @@ DOCKER_BUILD := docker build --no-cache \ --build-arg RUNNER=$(RUNNER) # --- Phony --- -.PHONY: .env up down restart logs ps shell build build-test install update \ - install-hooks test coverage lint format clean major minor patch help +.PHONY: .env bootstrap up down restart logs ps shell build build-test install \ + update install-hooks test coverage lint format clean major minor patch help # --- Setup --- .env .env.make: @@ -30,14 +30,14 @@ bootstrap: .env .env.make # --- Docker --- up: .env - @echo "Starting containers with profiles: [$(p)]..." + @echo "Starting containers with profiles: [full]..." @$(PROFILES_PARAM) $(DOCKER_COMPOSE) up -d --remove-orphans \ && echo "✓ Containers started" \ || (echo "✗ Failed to start containers" && exit 1) down: @echo "Stopping containers..." - @$(DOCKER_COMPOSE) down \ + @$(PROFILES_PARAM) $(DOCKER_COMPOSE) down \ && echo "✓ Containers stopped" \ || (echo "✗ Failed to stop containers" && exit 1)