master
zhuce 2024-03-20 13:22:16 +08:00
parent d37778a386
commit d62fa4ae04
2 changed files with 23 additions and 25 deletions

View File

@ -7,4 +7,4 @@ brokerRole=ASYNC_MASTER
flushDiskType=ASYNC_FLUSH flushDiskType=ASYNC_FLUSH
autoCreateTopicEnable=true autoCreateTopicEnable=true
autoCreateSubscriptionGroup=true autoCreateSubscriptionGroup=true
brokerIP1=localhost brokerIP1=192.168.1.47

View File

@ -19,7 +19,7 @@ services:
redis: redis:
image: redis:7.0.4 image: redis:7.0.4
restart: always restart: always
container_name: 'redis' container_name: 'lili-redis'
ports: ports:
- 6379:6379 - 6379:6379
volumes: volumes:
@ -29,7 +29,7 @@ services:
elasticsearch: elasticsearch:
image: elasticsearch:7.17.6 image: elasticsearch:7.17.6
restart: always restart: always
container_name: elasticsearch container_name: lili-elasticsearch
volumes: volumes:
# 映射本地目录权限一定要设置为 777 权限,否则启动不成功 # 映射本地目录权限一定要设置为 777 权限,否则启动不成功
# - ../volumes/data/es7/logs:/usr/share/elasticsearch/logs:rw # - ../volumes/data/es7/logs:/usr/share/elasticsearch/logs:rw
@ -57,7 +57,7 @@ services:
kibana: kibana:
image: docker.elastic.co/kibana/kibana:7.17.6 image: docker.elastic.co/kibana/kibana:7.17.6
restart: always restart: always
container_name: kibana container_name: lili-kibana
ports: ports:
- 5601:5601 - 5601:5601
# volumes: # volumes:
@ -66,11 +66,10 @@ services:
- stack - stack
depends_on: [ 'elasticsearch' ] depends_on: [ 'elasticsearch' ]
logstash: logstash:
image: logstash:7.17.6 image: logstash:7.17.6
restart: always restart: always
container_name: logstash container_name: lili-logstash
volumes: volumes:
- ./config/logstash-springboot.conf:/usr/share/logstash/pipeline/logstash.conf #挂载logstash的配置文件 - ./config/logstash-springboot.conf:/usr/share/logstash/pipeline/logstash.conf #挂载logstash的配置文件
networks: networks:
@ -148,4 +147,3 @@ networks:
driver: bridge driver: bridge
stack: stack:
driver: bridge driver: bridge