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
autoCreateTopicEnable=true
autoCreateSubscriptionGroup=true
brokerIP1=localhost
brokerIP1=192.168.1.47

View File

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