feat: add --es-address parameter to setup_es_index with .env support (#177)

main
qiaofenlin 3 months ago committed by GitHub
parent 0965d69acc
commit a6f97f61f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 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…
Cancel
Save