chassis-agent/docker-compose-logging.yml

44 lines
922 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: "3"
services:
kibana:
image: kibana:8.7.1
ports:
- "5610:5601"
networks:
chassis_agent_logging:
links:
- "elasticsearch"
elasticsearch:
image: elasticsearch:8.7.1
hostname: "elasticsearch"
environment:
- "discovery.type=single-node" #单机模式启动
- "TZ=Asia/Shanghai" # 设置时区
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" # 设置jvm内存大小
- "xpack.security.enabled=false" # 关闭 ssl/tls必须
ports:
- "9200:9200"
expose:
- 9200
networks:
chassis_agent_logging:
fluentd:
build:
context: ./fluentd
volumes:
- ./fluentd/conf/fluent.conf:/opt/bitnami/fluentd/conf/fluentd.conf
links:
- "elasticsearch"
ports:
- "24224:24224"
- "24224:24224/udp"
networks:
chassis_agent_logging:
networks:
chassis_agent_logging:
driver: bridge