Skip to content

Commit

Permalink
build: add targets for docker compose commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bdromard committed Dec 19, 2024
1 parent f88cfe0 commit 0a6a133
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions carenage/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,22 @@ build_release:
@echo "Building binary for Carenage CLI"
@cargo build --manifest-path $(CARENAGE_CLI_CARGO) --release

compose_dev:
@echo "Launching Docker development environment orchestration"
@docker compose --profile dev up -d

compose_prod:
@echo "Launching Docker production environment orchestration"
@docker compose --profile prod up -d

compose_dev_stop:
@echo "Stopping Docker development environment orchestration"
@docker compose --profile dev down

compose_prod_stop:
@echo "Stopping Docker production environment orchestration"
@docker compose --profile prod down

install_debug:
@echo "Installing debug binaries"
@cp target/debug/api $(PREFIX)/
Expand Down

0 comments on commit 0a6a133

Please sign in to comment.