1 Star 0 Fork 6

wwqdd1/elk-docker-compose

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.yml 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
zhangshijie 提交于 2022-11-26 17:52 . update docker-compose.yml
version: '3.8'
services:
elasticsearch:
image: elasticsearch:7.17.7
container_name: elasticsearch
environment:
- node.name=es-node1
- cluster.name=magedu-es-cluster1
- cluster.initial_master_nodes=es-node1
- "ES_JAVA_OPTS=-Xms1024m -Xmx1024m"
volumes:
- 'es-data:/usr/share/elasticsearch/data'
- './elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml'
ports:
- 9200:9200
restart: always
networks:
- elastic
logstash:
image: logstash:7.17.7
container_name: logstash
volumes:
- './logstash/config/logstash.conf:/usr/share/logstash/pipeline/logstash.conf'
- './logstash/config/logstash.yml:/usr/share/logstash/config/logstash.yml'
ports:
- 5044:5044
- 9889:9889
- 9600:9600
restart: always
networks:
- elastic
depends_on:
- elasticsearch
kibana:
image: kibana:7.17.7
container_name: kibana
volumes:
- './kibana/config:/usr/share/kibana/config'
ports:
- 5601:5601
restart: always
networks:
- elastic
depends_on:
- elasticsearch
volumes:
es-data:
driver: local
networks:
elastic:
ipam:
driver: default
config:
- subnet: "172.16.16.0/24"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/wwqdd1/elk-docker-compose.git
[email protected]:wwqdd1/elk-docker-compose.git
wwqdd1
elk-docker-compose
elk-docker-compose
master

搜索帮助