Skip to content

Commit 5068271

Browse files
authored
Add Elasticsearch ulimits inside docker-compose.datastores.yml
1 parent 8f44737 commit 5068271

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose.datastores.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ services:
5151

5252
elasticsearch:
5353
image: $PHRASEANET_DOCKER_REGISTRY/phraseanet-elasticsearch:$PHRASEANET_DOCKER_TAG
54+
ulimits:
55+
nofile:
56+
soft: 65536
57+
hard: 65536
5458
profiles: ["elasticsearch"]
5559
build: ./docker/elasticsearch
5660
restart: on-failure

0 commit comments

Comments
 (0)