Skip to content

Commit 3291159

Browse files
committed
统一部分三方组件到docker-compose-component项目
1 parent 69595cb commit 3291159

File tree

22 files changed

+1
-533
lines changed

22 files changed

+1
-533
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
- 项目使用了lombok来简化Getter/Setter,所以需要安装lombok插件才能保证编译不报错
4545
- 项目整合了Swagger,启动web模块后可以通过[http://127.0.0.1:2019/doc.html](http://127.0.0.1:2019/doc.html)查看
46-
- 项目中用到的第三方组件,可通过项目[docker-compose-environment](https://github.com/MartinDai/docker-compose-environment)找到相关配置文件使用`docker-compose`命令一键启动
46+
- 项目中用到的第三方组件,可以从`docker`目录和项目[docker-compose-environment](https://github.com/MartinDai/docker-compose-environment)找到相关配置文件使用`docker-compose`命令一键启动
4747

4848
## 打包编译
4949

docker/README.md

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,12 @@
22

33
### _进入当前目录,根据实际情况选择需要的容器组合命令执行_
44

5-
### Memcached和Redis服务
6-
7-
```bash
8-
docker-compose -f docker-compose-cache.yml up -d
9-
```
10-
11-
### consul服务
12-
13-
```bash
14-
docker-compose -f docker-compose-consul.yml up -d
15-
```
16-
- 后台管理页面:http://localhost:8500
17-
18-
### Elasticsearch主从集群+Kibana服务+Elasticvue服务
19-
20-
```bash
21-
docker-compose -f docker-compose-elasticsearch.yml up -d
22-
```
23-
- 注意需要修改当前目录下的`elasticsearch/master/config/elasticsearch.yml``elasticsearch/master/config/elasticsearch.yml`两个文件中的ip为本机内网IP
24-
- 这个组合比较消耗内存,至少保证docker有3.5G的空闲可分配内存再启动
25-
- kibana管理页面:http://localhost:5601
26-
- Elasticvue管理页面:http://localhost:18080
27-
28-
### Prometheus+Grafana服务
29-
30-
```bash
31-
docker-compose -f docker-compose-monitor.yml up -d
32-
```
33-
- prometheus管理页面:http://localhost:9090/graph
34-
- grafana管理页面:http://localhost:3000,默认用户名/密码都为:admin
35-
- 如果要结合JMX配置监控项目,请参考`monitor/README.md`中的说明启动项目,然后需要修改当前目录下的`prometheus/config/prometheus.yml`最后一行配置中的ip为本地内网IP
36-
- 启动以后在grafana添加prometheus数据源,然后可以通过链接`https://grafana.com/grafana/dashboards/8563` 导入dashboard,该dashboard包含了常用的JVM监控维度信息
37-
385
### MySQL服务
396

407
```bash
418
docker-compose -f docker-compose-mysql.yml up -d
429
```
4310

44-
### RocketMQ服务+Dashboard服务
45-
46-
```bash
47-
docker-compose -f docker-compose-rocketmq.yml up -d
48-
```
49-
- 注意需要修改基于当前目录下的rocketmq/broker/conf/broker.conf文件内的brokerIP1属性为本机内网IP
50-
- rocketmq-dashboard页面:http://localhost:28080
51-
52-
### Zookeeper集群+zoonavigator服务
53-
54-
```bash
55-
docker-compose -f docker-compose-zookeeper.yml up -d
56-
```
57-
- zoonavigator管理页面:http://localhost:9000,连接地址:127.0.0.1:2181
58-
5911
### Seata-Server服务
6012

6113
```bash

docker/consul/config/consul.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

docker/docker-compose-cache.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

docker/docker-compose-consul.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

docker/docker-compose-elasticsearch.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

docker/docker-compose-monitor.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

docker/docker-compose-rocketmq.yml

Lines changed: 0 additions & 45 deletions
This file was deleted.

docker/docker-compose-zookeeper.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

docker/elasticsearch/master/config/elasticsearch.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)