From 49f17fd2c575ffa1066579b3677a399ae6216bc7 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Tue, 6 Oct 2020 01:04:54 -0700 Subject: [PATCH] refactor to use a default compose and a full one. update makefile targets --- Makefile | 12 ++++++------ ...-compose.compile.yaml => docker-compose.full.yaml | 0 docker-compose.nocompile.yaml => docker-compose.yaml | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename docker-compose.compile.yaml => docker-compose.full.yaml (100%) rename docker-compose.nocompile.yaml => docker-compose.yaml (100%) diff --git a/Makefile b/Makefile index f19b762..31b52b0 100644 --- a/Makefile +++ b/Makefile @@ -7,19 +7,19 @@ help: @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' up: ## Build and run the required containers by fetching binaries - docker-compose -f docker-compose.nocompile.yaml up -d + docker-compose -f docker-compose.yaml up -d up-full: ## Build and run the required containers by compiling source - docker-compose -f docker-compose.compile.yaml up -d + docker-compose -f docker-compose.full.yaml up -d down: ## Stop the containers - docker-compose -f docker-compose.nocompile.yaml down + docker-compose -f docker-compose.yaml down down-full: ## Stop the containers - docker-compose -f docker-compose.compile.yaml down + docker-compose -f docker-compose.full.yaml down logs: ## Get logs from the containers - docker-compose -f docker-compose.nocompile.yaml logs -f + docker-compose -f docker-compose.yaml logs -f logs-full: ## Get logs from the containers - docker-compose -f docker-compose.compile.yaml logs -f + docker-compose -f docker-compose.full.yaml logs -f diff --git a/docker-compose.compile.yaml b/docker-compose.full.yaml similarity index 100% rename from docker-compose.compile.yaml rename to docker-compose.full.yaml diff --git a/docker-compose.nocompile.yaml b/docker-compose.yaml similarity index 100% rename from docker-compose.nocompile.yaml rename to docker-compose.yaml