代码拉取完成,页面将自动刷新
同步操作将从 kancy/docker-compose 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
services:
# ref: https://blog.csdn.net/maquealone/article/details/89417257
# ref: https://www.elastic.co/guide/en/elasticsearch/reference/6.5/docker.html#docker-prod-cluster-composefile
elasticsearch_master:
image: bolingcavalry/elasticsearch-with-ik:6.5.0
container_name: elasticsearch_master
restart: always
environment:
- cluster.name=elasticsearch-cluster
- node.name=node_master_9200
- node.master=true
- node.data=true
- bootstrap.memory_lock=true
- http.cors.enabled=true
- http.cors.allow-origin=*
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- /data/docker_file/elasticsearch-cluster/master:/usr/share/elasticsearch/data
ports:
- 9200:9200
- 9300:9300
elasticsearch_slave1:
image: bolingcavalry/elasticsearch-with-ik:6.5.0
container_name: elasticsearch_slave_node_1
restart: always
environment:
- cluster.name=elasticsearch-cluster
- node.name=node_slave_9201
- node.master=false
- node.data=true
- bootstrap.memory_lock=true
- http.cors.enabled=true
- http.cors.allow-origin=*
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- "discovery.zen.ping.unicast.hosts=10.139.60.139"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- /data/docker_file/elasticsearch-cluster/slave1:/usr/share/elasticsearch/data
ports:
- 9201:9200
- 9301:9300
depends_on:
- elasticsearch_master
kibana:
image: kibana:6.5.0
container_name: kibana
environment:
- SERVER_NAME=kibana
- ELASTICSEARCH_URL=http://10.139.60.138:9200
- XPACK_MONITORING_ENABLED=true
ports:
- 5601:5601
depends_on:
- elasticsearch_master
external_links:
- elasticsearch_master
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。