1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
This commit is contained in:
kev 2016-11-01 18:24:37 +08:00
parent fdeafca4bb
commit 5377b8b211
2 changed files with 5 additions and 2 deletions

View File

@ -19,8 +19,8 @@
# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space
-Xms512m
-Xmx512m
-Xms2g
-Xmx2g
################################################################
## Expert settings

View File

@ -6,4 +6,7 @@ elasticsearch:
volumes:
- ./data:/opt/elasticsearch/data
- ./config:/opt/elasticsearch/config
mem_limit: 4g
cap_add:
- IPC_LOCK
restart: always