Updated docker commands and makefiles
This commit is contained in:
@@ -10,23 +10,26 @@ help: ## Help command
|
||||
@cat Makefile | grep -E '^[a-zA-Z\/_-]+:.*?## .*$$' | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
@echo
|
||||
|
||||
build: ## Build the docker image
|
||||
docker compose build
|
||||
up: ## Start the backend containers
|
||||
@docker compose --profile backend up -d
|
||||
|
||||
backend-up: ## Start the backend containers
|
||||
docker compose --profile backend up -d
|
||||
down: ## Stop the backend containers
|
||||
@docker compose --profile backend down
|
||||
|
||||
backend-down: ## Stop the backend containers
|
||||
docker compose --profile backend down
|
||||
run: ## Run the app
|
||||
@cargo run
|
||||
|
||||
up: ## Start the app
|
||||
docker compose up -d
|
||||
docker-up: ## Start the app
|
||||
@docker compose --profile backend --profile siren up -d
|
||||
|
||||
down: ## Stop the app
|
||||
docker compose down
|
||||
docker-down: ## Stop the app
|
||||
@docker compose --profile backend --profile siren down
|
||||
|
||||
docker-build: ## Build the docker image
|
||||
@docker compose build
|
||||
|
||||
clean: ## Clean the app
|
||||
docker compose down && \
|
||||
@docker compose down && \
|
||||
docker image rm siren-service || \
|
||||
docker network rm siren_frontend || \
|
||||
docker network rm siren-backend
|
||||
|
||||
Reference in New Issue
Block a user