Skip to content

Commit

Permalink
Added file-descriptor limit in elasticsearc service configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Shailesh Vaidya <skimeer@gmail.com>
  • Loading branch information
shaileshvaidya committed Jan 10, 2021
1 parent 85fe6a4 commit fe57c51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ services:
command: elasticsearch -Enetwork.bind_host=0.0.0.0 -Ehttp.max_content_length=2000mb
ports:
- 9200:9200
ulimits:
nofile:
soft: "65536"
hard: "65536"
environment:
- ES_JAVA_OPTS=-Xms2g -Xmx2g
- ANONYMOUS_USER=true
Expand Down

0 comments on commit fe57c51

Please sign in to comment.