Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
8211a232
Commit
8211a232
authored
Aug 07, 2023
by
macro
Browse files
Update docker-compose-env.yml
parent
96828ced
Changes
1
Hide whitespace changes
Inline
Side-by-side
document/docker/docker-compose-env.yml
View file @
8211a232
...
...
@@ -44,7 +44,7 @@ services:
environment
:
-
"
cluster.name=elasticsearch"
#设置集群名称为elasticsearch
-
"
discovery.type=single-node"
#以单一节点模式启动
-
"
ES_JAVA_OPTS=-Xms512m
-Xmx1024m"
#设置使用jvm内存大小
-
"
ES_JAVA_OPTS=-Xms512m
-Xmx1024m"
#设置
es
使用
的
jvm内存大小
volumes
:
-
/mydata/elasticsearch/plugins:/usr/share/elasticsearch/plugins
#插件文件目录挂载
-
/mydata/elasticsearch/data:/usr/share/elasticsearch/data
#数据文件目录挂载
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment