init
parent
d37778a386
commit
d62fa4ae04
|
@ -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
|
|
@ -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,25 +57,24 @@ 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:
|
||||||
# - "./config/kibana.yml:/usr/share/kibana/config/kibana.yml"
|
# - "./config/kibana.yml:/usr/share/kibana/config/kibana.yml"
|
||||||
networks:
|
networks:
|
||||||
- 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:
|
||||||
- stack
|
- stack
|
||||||
depends_on: ['elasticsearch']
|
depends_on: [ 'elasticsearch' ]
|
||||||
ports:
|
ports:
|
||||||
- 4560:4560
|
- 4560:4560
|
||||||
|
|
||||||
|
@ -148,4 +147,3 @@ networks:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
stack:
|
stack:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue