1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-05-13 22:06:55 +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 # Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space # Xmx represents the maximum size of total heap space
-Xms512m -Xms2g
-Xmx512m -Xmx2g
################################################################ ################################################################
## Expert settings ## Expert settings

View File

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