Skip to content

Commit

Permalink
完善es脚步 2022-08-04
Browse files Browse the repository at this point in the history
  • Loading branch information
hktalent committed Aug 4, 2022
1 parent b4186fd commit b1fd10b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/initEs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
mkdir "logs"
docker run --restart=always --ulimit nofile=65536:65536 -p 9200:9200 -p 9300:9300 -d --name es1 -v $PWD/logs:/usr/share/elasticsearch/logs -v $PWD/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v $PWD/config/jvm.options:/usr/share/elasticsearch/config/jvm.options -v $PWD/data:/usr/share/elasticsearch/data hktalent/elasticsearch:7.16.2

echo "Wait for es to start before running the following script"
docker logs -f es1
echo "Wait for es to start before running the following script"
./config/CreateEs.sh nmap
./config/CreateEs.sh naabu
./config/CreateEs.sh httpx
Expand Down

0 comments on commit b1fd10b

Please sign in to comment.