repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply dependencies update
[e-mobility-charging-stations-simulator.git]
/
docker
/
Makefile
diff --git
a/docker/Makefile
b/docker/Makefile
index d3eefbc01330c2219f9bb6267d57619186f307cc..ced950e4a1c1b583120872558e9daecfd700bcbe 100644
(file)
--- a/
docker/Makefile
+++ b/
docker/Makefile
@@
-1,8
+1,9
@@
PROJECT_NAME?=evse
PROJECT_NAME?=evse
-NAME:=simulator
+NAME:=e-mobility-charging-stations-simulator
+SUBMODULES_INIT?=false
DOCKER_ECR_ACCOUNT_ID?=166296450311
DOCKER_ECR_REGION?=eu-west-3
DOCKER_ECR_ACCOUNT_ID?=166296450311
DOCKER_ECR_REGION?=eu-west-3
-DOCKER_ECR_REGISTRY_NAME?=e
v_
simulator
+DOCKER_ECR_REGISTRY_NAME?=e
-mobility-charging-stations-
simulator
DOCKER_ECR_TAG?=latest
.PHONY: all
DOCKER_ECR_TAG?=latest
.PHONY: all
@@
-12,10
+13,15
@@
default: all
submodule-update:
git submodule update --init --recursive
submodule-update:
git submodule update --init --recursive
-$(NAME): submodule-update
+submodules-init=
+ifeq '$(SUBMODULES_INIT)' 'true'
+ submodules-init += submodule-update
+endif
+
+$(NAME): $(submodules-init)
docker-compose -p $(PROJECT_NAME) up -d
docker-compose -p $(PROJECT_NAME) up -d
-$(NAME)-force:
submodule-update
+$(NAME)-force:
$(submodules-init)
docker-compose -p $(PROJECT_NAME) up -d --build --force-recreate
all: $(NAME)
docker-compose -p $(PROJECT_NAME) up -d --build --force-recreate
all: $(NAME)