NOISSUE - Update env vars for events store (#91)

- Rename env vars `MG_ES_STORE_TYPE` to `MG_ES_TYPE`
- Rename env var `MG_ES_STORE_URL` to `MG_ES_URL`
- User one env variables `MG_ES_URL` instead of every service having their own env variables
- Config default env var for `MG_ES_URL` at code level to be `nats://localhost:4222` instead of `redis://localhost:6379/0`

Signed-off-by: Rodney Osodo <28790446+rodneyosodo@users.noreply.github.com>
This commit is contained in:
b1ackd0t
2023-11-29 13:29:22 +03:00
committed by GitHub
parent 3362f1a71a
commit 4f1b7ea614
17 changed files with 28 additions and 45 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ setup_mg() {
echo "Compile check for rabbitmq..."
MG_MESSAGE_BROKER_TYPE=rabbitmq make http
echo "Compile check for redis..."
MG_ES_STORE_TYPE=redis make http
MG_ES_TYPE=redis make http
make -j$NPROC
}