mirror of
https://gitee.com/freshday/radar.git
synced 2024-12-02 03:47:44 +08:00
add default config file, dependence midware no password set(es, redis,mongo )
feihu wang
This commit is contained in:
parent
2d9bc6bc6c
commit
27f4383082
@ -103,7 +103,6 @@ https://gitee.com/freshday/radar/wikis/manual
|
||||
通过管理端能够快速了解系统是怎么从风险的定义到风险的量化再到风险的集中管理的整个工作流程。
|
||||
为了更好的体验,请花一分钟观看 [使用手册](https://gitee.com/freshday/radar/wikis/manual?sort_id=1637446)
|
||||
[Demo URL:](http://radar.pgmmer.top) http://radar.pgmmer.top
|
||||
账号密码:test/123456
|
||||
建议大家自行注册用户,避免使用同样的测试账号受干扰.
|
||||
|
||||
## 未完待续
|
||||
@ -123,4 +122,4 @@ https://gitee.com/freshday/radar/wikis/manual
|
||||
提示:进群需要捐赠,0.1元起
|
||||
![微信交流群](http://radar.pgmmer.top/radar/wx2.jpg)
|
||||
|
||||
Copyright © WangFeiHu 2020
|
||||
Copyright © 2019-2020 WangFeiHu
|
||||
|
@ -34,4 +34,4 @@ sys:
|
||||
mongo-restore-days: 93 # 事件保存时间,默认3个月
|
||||
workdir: /radar/workdir # 工作目录
|
||||
server:
|
||||
port: 18080
|
||||
port: 6580
|
||||
|
37
radar-admin/src/main/resources/application-local.yml
Normal file
37
radar-admin/src/main/resources/application-local.yml
Normal file
@ -0,0 +1,37 @@
|
||||
spring:
|
||||
data:
|
||||
mongodb:
|
||||
uri: mongodb://localhost:27017/radar
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/radar?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
|
||||
username: root
|
||||
password: 456132
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
password:
|
||||
timeout: 2000ms
|
||||
database: 1 #默认有16个db(集群模式用hash槽代替),这里配置具体使用的db,默认是0
|
||||
|
||||
mobile:
|
||||
info:
|
||||
path: d:/radar/moble_info.csv #手机号码归属地文件
|
||||
ip2region:
|
||||
db:
|
||||
path: d:/radar/ip2region.db #IP地址库文件
|
||||
elasticsearch:
|
||||
ip: 127.0.0.1
|
||||
port: 9300
|
||||
pool-size: 5
|
||||
cluster:
|
||||
name: elasticsearch
|
||||
url: http://127.0.0.1:9200
|
||||
username: # 不存在就留空
|
||||
password: #
|
||||
sys:
|
||||
conf:
|
||||
app: admin # admin 或者 engine, 根据启动的项目名称进行选择
|
||||
entity-duplicate-insert: false # 事件是否允许重复插入
|
||||
mongo-restore-days: 93 # 事件保存时间,默认3个月
|
||||
workdir: d:/radar # 工作目录
|
||||
server:
|
||||
port: 6580
|
@ -50,4 +50,4 @@ logging:
|
||||
org.elasticsearch: info
|
||||
|
||||
server:
|
||||
port: 18080
|
||||
port: 6580
|
||||
|
@ -38,4 +38,4 @@ sys:
|
||||
mongo-restore-days: 93 # 事件保存时间,默认3个月
|
||||
workdir: /radar/workdir # 工作目录
|
||||
server:
|
||||
port: 9090
|
||||
port: 6581
|
||||
|
37
radar-engine/src/main/resources/application-local.yml
Normal file
37
radar-engine/src/main/resources/application-local.yml
Normal file
@ -0,0 +1,37 @@
|
||||
spring:
|
||||
data:
|
||||
mongodb:
|
||||
uri: mongodb://localhost:27017/radar
|
||||
datasource:
|
||||
url: jdbc:mysql://127.0.0.1:3306/radar?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
|
||||
username: root
|
||||
password: 456132
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
password:
|
||||
timeout: 2000ms
|
||||
database: 1 #默认有16个db(集群模式用hash槽代替),这里配置具体使用的db,默认是0
|
||||
|
||||
mobile:
|
||||
info:
|
||||
path: d:/radar/moble_info.csv #手机号码归属地文件
|
||||
ip2region:
|
||||
db:
|
||||
path: d:/radar/ip2region.db #IP地址库文件
|
||||
elasticsearch:
|
||||
ip: 127.0.0.1
|
||||
port: 9300
|
||||
pool-size: 5
|
||||
cluster:
|
||||
name: elasticsearch
|
||||
url: http://127.0.0.1:9200
|
||||
username: # 不存在就留空
|
||||
password: #
|
||||
sys:
|
||||
conf:
|
||||
app: engine # admin 或者 engine, 根据启动的项目名称进行选择
|
||||
entity-duplicate-insert: false # 事件是否允许重复插入
|
||||
mongo-restore-days: 93 # 事件保存时间,默认3个月
|
||||
workdir: d:/radar # 工作目录
|
||||
server:
|
||||
port: 6581
|
@ -2,9 +2,6 @@ spring:
|
||||
profiles:
|
||||
active: @profileActive@
|
||||
datasource:
|
||||
url: jdbc:mysql://localhost:3306/radar?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8&useSSL=false
|
||||
username: root
|
||||
password: 456132
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
druid:
|
||||
@ -29,10 +26,6 @@ spring:
|
||||
login-username: admin
|
||||
login-password: 123456
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
#password:
|
||||
timeout: 2000ms
|
||||
database: 0 #默认有16个db(集群模式用hash槽代替),这里配置具体使用的db,默认是0
|
||||
lettuce:
|
||||
pool:
|
||||
max-active: 30 #最大连接数(使用负值表示没有限制) 默认 8
|
||||
@ -45,8 +38,6 @@ mapper:
|
||||
mappers:
|
||||
- tk.mybatis.mapper.common.Mapper
|
||||
not-empty: true
|
||||
mongodb:
|
||||
url: mongodb://localhost:27017/radar
|
||||
mobile:
|
||||
info:
|
||||
path: D:/radar/moble_info.csv # 手机号码归属地文件
|
||||
@ -65,11 +56,5 @@ logging:
|
||||
root: info
|
||||
com.pgmmers.radar: info
|
||||
com.pgmmers.radar.mapper: debug
|
||||
sys:
|
||||
conf:
|
||||
app: engine # admin 或者 engine, 根据启动的项目名称进行选择
|
||||
entity-duplicate-insert: false # 事件是否允许重复插入
|
||||
mongo-restore-days: 93 # 事件保存时间,默认3个月
|
||||
workdir: d:\\radar # 工作目录
|
||||
server:
|
||||
port: 9090
|
||||
port: 6581
|
||||
|
Loading…
Reference in New Issue
Block a user