Skip to content

Commit

Permalink
limit ElasticSearch resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya N. Zykin committed Feb 4, 2023
1 parent e548f5c commit 7bb01b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ services:
image: elasticsearch:7.17.8
environment:
- discovery.type=single-node
- ES_JAVA_OPTS=-Xms512m -Xmx512m
ports:
- 9200:9200
- 9300:9300
volumes:
- ../db/ELASTIC:/usr/share/elasticsearch/data
- ../log/ELASTIC:/usr/share/elasticsearch/logs
Expand Down

0 comments on commit 7bb01b9

Please sign in to comment.