feat: add --es-address parameter to setup_es_index with .env support (#177)
This commit is contained in:
parent
0965d69acc
commit
a6f97f61f8
3
Makefile
3
Makefile
|
|
@ -88,7 +88,8 @@ atlas-hash:
|
|||
|
||||
setup_es_index:
|
||||
@echo "Setting up Elasticsearch index..."
|
||||
@bash $(ES_SETUP_SCRIPT) --index-dir $(ES_INDEX_SCHEMA) --docker-host false
|
||||
@. $(ENV_FILE); \
|
||||
bash $(ES_SETUP_SCRIPT) --index-dir $(ES_INDEX_SCHEMA) --docker-host false --es-address "$$ES_ADDR"
|
||||
|
||||
help:
|
||||
@echo "Usage: make [target]"
|
||||
|
|
|
|||
Loading…
Reference in New Issue