We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8c032b commit 447fb48Copy full SHA for 447fb48
Makefile
@@ -1,9 +1,9 @@
1
-include .env
2
APP_PORT = 4002
3
IMG_NAME = "ghcr.io/libertech-fr/sesame-orchestrator"
4
BASE_NAME = "sesame"
5
APP_NAME = "sesame-orchestrator"
6
PLATFORM = "linux/amd64"
+include .env
7
8
.DEFAULT_GOAL := help
9
help:
@@ -76,7 +76,7 @@ dbs: ## Start databases
76
--health-retries=3 \
77
--health-cmd="redis-cli ping || exit 1" \
78
redis || true
79
- @docker exec -it $(BASE_NAME)-mongodb mongosh --eval "rs.initiate({_id: 'rs0', members: [{_id: 0, host: '127.0.0.1:27017'}]})" || true
+ @docker exec -it $(BASE_NAME)-mongodb mongosh --eval "rs.initiate({_id: \"rs0\", members: [{_id: 0, host: \"$(BASE_NAME)-mongodb\"}]})" || true
80
81
stop: ## Stop the container
82
@docker stop $(APP_NAME) || true
0 commit comments