Skip to content

Commit

Permalink
light cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
ishandhanani committed Dec 2, 2024
1 parent 42fd15c commit 8dc8ebe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,13 @@ model-dev:
@echo "$(GREEN)Starting development environment...$(NC)"
docker compose up $(PDF_MODEL_SERVICES) --build

# Development target that will run all services including pdf model locally
# Production target for pdf model service
model-prod:
docker compose -f docker-compose-remote.yaml down $(PDF_MODEL_SERVICES)
@echo "$(GREEN)Starting production environment with version $(VERSION)...$(NC)"
VERSION=$(VERSION) docker compose -f docker-compose-remote.yaml up $(PDF_MODEL_SERVICES)

# Development target that will run all services including docling for the pdf model locally
all-services: check_env create-minio-data-dir
docker compose down
@echo "$(GREEN)Starting development environment all-services...$(NC)"
Expand All @@ -88,12 +94,6 @@ prod: check_env create-minio-data-dir
@echo "$(GREEN)Starting production environment with version $(VERSION)...$(NC)"
VERSION=$(VERSION) MODEL_API_URL=$(NVINGEST_URL) docker compose -f docker-compose-remote.yaml --env-file .env up $(NON_PDF_MODEL_SERVICES)

# Production target for pdf model service
model-prod:
docker compose -f docker-compose-remote.yaml down $(PDF_MODEL_SERVICES)
@echo "$(GREEN)Starting production environment with version $(VERSION)...$(NC)"
VERSION=$(VERSION) docker compose -f docker-compose-remote.yaml up $(PDF_MODEL_SERVICES)

# Version bump (minor) and release target
version-bump:
@echo "Current version: $(VERSION)"
Expand Down

0 comments on commit 8dc8ebe

Please sign in to comment.