代码拉取完成,页面将自动刷新
version: '2.4'
networks:
elastic3:
services:
elasticsearch1:
image: registry.cn-shenzhen.aliyuncs.com/infrastlabs/blacktop-elasticsearch:${ES_VER:-7.10.2}
container_name: elasticsearch1-lite
restart: unless-stopped
environment:
# 256M> 800M
- ES_JAVA_OPTS=-Xms800M -Xmx800M
- ELASTIC_PASSWORD=elastic1234
- node.name=elasticsearch1
- cluster.initial_master_nodes=elasticsearch1
ulimits:
nproc: 65535
memlock:
soft: -1
hard: -1
cap_add:
- ALL
volumes:
- ./conf/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ./plugins:/usr/share/elasticsearch/plugins
- ./logs/oss1:/var/log
- ./data/oss1:/usr/share/elasticsearch/data
networks:
- elastic3
ports:
- 9200:9200
- 9300:9300
# cpuset: 0,1
# mem_limit: 1024m
# mem_reservation: 1g
# memswap_limit: 0m
elasticsearch2:
image: registry.cn-shenzhen.aliyuncs.com/infrastlabs/blacktop-elasticsearch:${ES_VER:-7.10.2}
container_name: elasticsearch2-lite
restart: unless-stopped
environment:
- ES_JAVA_OPTS=-Xms800M -Xmx800M
- node.name=elasticsearch2
- cluster.initial_master_nodes=elasticsearch1
- discovery.zen.ping.unicast.hosts=elasticsearch1
ulimits:
nproc: 65535
memlock:
soft: -1
hard: -1
cap_add:
- ALL
volumes:
- ./conf/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ./plugins:/usr/share/elasticsearch/plugins
- ./logs/oss2:/var/log
- ./data/oss2:/usr/share/elasticsearch/data
networks:
- elastic3
ports:
- 19201:9200
elasticsearch3:
image: registry.cn-shenzhen.aliyuncs.com/infrastlabs/blacktop-elasticsearch:${ES_VER:-7.10.2}
container_name: elasticsearch3-lite
restart: unless-stopped
environment:
- ES_JAVA_OPTS=-Xms800M -Xmx800M
- node.name=elasticsearch3
- cluster.initial_master_nodes=elasticsearch1
- discovery.zen.ping.unicast.hosts=elasticsearch1
ulimits:
nproc: 65535
memlock:
soft: -1
hard: -1
cap_add:
- ALL
volumes:
- ./conf/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ./plugins:/usr/share/elasticsearch/plugins
- ./logs/oss3:/var/log
- ./data/oss3:/usr/share/elasticsearch/data
networks:
- elastic3
ports:
- 19202:9200
# kibana: #oss版
# image: blacktop/kibana:7.10.2
# image: registry.cn-shenzhen.aliyuncs.com/infrastlabs/blacktop-kibana:${ES_VER:-7.10.2}
# restart: unless-stopped
# network_mode: host
# # environment:
# # - ELASTIC_PASSWORD=elastic1234
# volumes:
# - ./conf/kibana.yml:/usr/share/kibana/config/kibana.yml
es-vue:
image: registry.cn-shenzhen.aliyuncs.com/infrastlabs/cars10-elasticvue:0.42.1
restart: unless-stopped
ports:
- 18081:8080
es-admin:
image: registry.cn-shenzhen.aliyuncs.com/infrastlabs/stephanediondev-elasticsearch-admin:latest
command:
# - /bin/sh /es-admin-cmd.
- /bin/sh
- -c
- sh /es-admin-cmd.sh
restart: unless-stopped
ports:
- 18082:8080
environment:
- ELASTICSEARCH_URL=http://172.25.23.195:9200
- ELASTICSEARCH_USERNAME=elastic
- ELASTICSEARCH_PASSWORD=elastic1234
- SECRET_REGISTER=123
volumes:
- ./bin/es-admin-cmd.sh:/es-admin-cmd.sh
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。