This commit is contained in:
itheinjury@163.com 2022-02-17 13:58:16 +08:00
parent f280ab88ec
commit 2f3e2a5ae8
7 changed files with 90 additions and 95 deletions

View File

@ -1,7 +1,8 @@
# 应用程序名称 # 应用程序名称
spring.application.name=SpringBootAdmin spring.application.name=SpringBootAdmin
# 应用程序端口 # 应用程序端口
server.port=8000 #server.port=8000
server.port=30000
management.endpoints.web.exposure.include=* management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always management.endpoint.health.show-details=always
#账号密码 #账号密码
@ -16,5 +17,6 @@ spring.mail.username=1814994716@qq.com
spring.mail.password=abcdefg123456!@#$%^ spring.mail.password=abcdefg123456!@#$%^
# 日志文件路径 # 日志文件路径
logging.file.path=lili-logs/admin logging.file.path=lili-logs/admin
lili.data.logstash.server=192.168.2.122:4560
# 文件格式 # 文件格式
logging.pattern.file=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx logging.pattern.file=%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(${PID}){magenta} %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wEx

View File

@ -1,6 +1,6 @@
server: server:
port: 8885 # port: 8885
port: 30001
servlet: servlet:
context-path: / context-path: /
# #
@ -35,7 +35,7 @@ spring:
boot: boot:
admin: admin:
client: client:
url: http://127.0.0.1:8000 url: http://127.0.0.1:30000
# 文件大小上传配置 # 文件大小上传配置
servlet: servlet:
multipart: multipart:

View File

@ -24,7 +24,7 @@ spring:
boot: boot:
admin: admin:
client: client:
url: http://192.168.2.122:8000 url: http://127.0.0.1:30000
# mongodb # mongodb
data: data:
mongodb: mongodb:

View File

@ -1,6 +1,6 @@
server: server:
port: 8890 # port: 8890
port: 30002
servlet: servlet:
context-path: / context-path: /
@ -28,7 +28,7 @@ spring:
boot: boot:
admin: admin:
client: client:
url: http://127.0.0.1:8000 url: http://127.0.0.1:30000
cache: cache:
type: redis type: redis
# Redis # Redis

View File

@ -1,6 +1,6 @@
server: server:
port: 8886 # port: 8886
port: 30005
servlet: servlet:
context-path: / context-path: /
@ -25,26 +25,18 @@ management:
exposure: exposure:
include: '*' include: '*'
spring: spring:
application:
name: consumer
# 要在其中注册的Spring Boot Admin Server的URL。 # 要在其中注册的Spring Boot Admin Server的URL。
boot: boot:
admin: admin:
client: client:
url: http://127.0.0.1:8000 url: http://127.0.0.1:30000
# mongodb
data:
mongodb:
host: 192.168.2.126
port: 27017
database: rx-shop
username: goboo
password: Gb84505016
authentication-database: admin
# replica-set-name: mongoreplset
cache: cache:
type: redis type: redis
# Redis # Redis
redis: redis:
host: 192.168.2.126 host: 192.168.2.122
port: 6379 port: 6379
password: Gb84505016 password: Gb84505016
lettuce: lettuce:
@ -119,7 +111,7 @@ spring:
props: props:
#是否打印逻辑SQL语句和实际SQL语句建议调试时打印在生产环境关闭 #是否打印逻辑SQL语句和实际SQL语句建议调试时打印在生产环境关闭
sql: sql:
show: true show: false
# 忽略鉴权url # 忽略鉴权url
ignored: ignored:
@ -146,8 +138,8 @@ ignored:
- /buyer/memberEvaluation/**/goodsEvaluation - /buyer/memberEvaluation/**/goodsEvaluation
- /buyer/memberEvaluation/**/evaluationNumber - /buyer/memberEvaluation/**/evaluationNumber
- /store/login/** - /store/login/**
- /manager/user/login - /manager/passport/user/login
- /manager/user/refresh/** - /manager/passport/user/refresh/**
- /druid/** - /druid/**
- /swagger-ui.html - /swagger-ui.html
- /doc.html - /doc.html
@ -167,11 +159,11 @@ swagger:
title: API接口文档 title: API接口文档
description: Api Documentation description: Api Documentation
version: 1.0.0 version: 1.0.0
termsOfServiceUrl: termsOfServiceUrl: https://pickmall.cn
contact: contact:
name: rx name: lili
url: url: https://pickmall.cn
email: email: admin@pickmall.com
# Mybatis-plus # Mybatis-plus
mybatis-plus: mybatis-plus:
@ -184,19 +176,21 @@ mybatis-plus:
# 日志 # 日志
logging: logging:
config: classpath:logback-spring.xml
# 输出级别 # 输出级别
level: level:
cn.lili: info root: info
# org.hibernate: debug # org.hibernate: debug
# org.springframework: debug # org.springframework: debug
# org.springframework.data.mongodb.core: debug
file: file:
# 指定路径 # 指定路径
path: lili-logs path: lili-logs
logback:
rollingpolicy:
# 最大保存天数 # 最大保存天数
max-history: 7 max-history: 7
# 每个文件最大大小 # 每个文件最大大小
max-size: 5MB max-file-size: 5MB
#加密参数 #加密参数
jasypt: jasypt:
encryptor: encryptor:
@ -204,7 +198,7 @@ jasypt:
lili: lili:
system: system:
isDemoSite: false isDemoSite: true
statistics: statistics:
# 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数 # 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数
onlineMember: 48 onlineMember: 48
@ -244,7 +238,7 @@ lili:
data: data:
elasticsearch: elasticsearch:
cluster-name: elasticsearch cluster-name: elasticsearch
cluster-nodes: 192.168.2.126:9200 cluster-nodes: 192.168.2.122:9200
index: index:
number-of-replicas: 0 number-of-replicas: 0
number-of-shards: 3 number-of-shards: 3
@ -253,7 +247,8 @@ lili:
# account: # account:
# username: elastic # username: elastic
# password: LiLiShopES # password: LiLiShopES
logstash:
server: 192.168.2.122:4560
rocketmq: rocketmq:
promotion-topic: lili_promotion_topic promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group promotion-group: lili_promotion_group
@ -274,7 +269,7 @@ lili:
after-sale-topic: lili_after_sale_topic after-sale-topic: lili_after_sale_topic
after-sale-group: lili_after_sale_group after-sale-group: lili_after_sale_group
rocketmq: rocketmq:
name-server: 192.168.2.126:9876 name-server: 192.168.2.122:9876
producer: producer:
group: lili_group group: lili_group
send-message-timeout: 30000 send-message-timeout: 30000
@ -282,7 +277,7 @@ rocketmq:
xxl: xxl:
job: job:
admin: admin:
addresses: http://192.168.2.126:9001/xxl-job-admin addresses: http://192.168.2.122:9001/xxl-job-admin
executor: executor:
appname: xxl-job-executor-lilishop appname: xxl-job-executor-lilishop
address: address:

View File

@ -1,5 +1,6 @@
server: server:
port: 8887 # port: 8887
port: 30003
servlet: servlet:
context-path: / context-path: /
@ -22,26 +23,18 @@ management:
exposure: exposure:
include: '*' include: '*'
spring: spring:
application:
name: manager-api
# 要在其中注册的Spring Boot Admin Server的URL。 # 要在其中注册的Spring Boot Admin Server的URL。
boot: boot:
admin: admin:
client: client:
url: http://127.0.0.1:8000 url: http://127.0.0.1:30000
# mongodb
data:
mongodb:
host: 192.168.2.126
port: 27017
database: rx-shop
username: goboo
password: Gb84505016
authentication-database: admin
# replica-set-name: mongoreplset
cache: cache:
type: redis type: redis
# Redis # Redis
redis: redis:
host: 192.168.2.126 host: 192.168.2.122
port: 6379 port: 6379
password: Gb84505016 password: Gb84505016
lettuce: lettuce:
@ -127,9 +120,10 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt - /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/** - /weixin/**
- /source/** - /source/**
- /manager/user/login - /manager/passport/user/login
- /manager/user/refresh/** - /manager/passport/user/refresh/**
- /manager/elasticsearch - /manager/other/elasticsearch
- /manager/other/customWords
- /druid/** - /druid/**
- /swagger-ui.html - /swagger-ui.html
- /doc.html - /doc.html
@ -149,11 +143,11 @@ swagger:
title: API接口文档 title: API接口文档
description: Api Documentation description: Api Documentation
version: 1.0.0 version: 1.0.0
termsOfServiceUrl: termsOfServiceUrl: https://pickmall.cn
contact: contact:
name: rx name: lili
url: url: https://pickmall.cn
email: email: admin@pickmall.com
# Mybatis-plus # Mybatis-plus
mybatis-plus: mybatis-plus:
@ -166,19 +160,21 @@ mybatis-plus:
# 日志 # 日志
logging: logging:
config: classpath:logback-spring.xml
# 输出级别 # 输出级别
level: level:
cn.lili: info cn.lili: info
# org.hibernate: debug # org.hibernate: debug
# org.springframework: debug # org.springframework: debug
# org.springframework.data.mongodb.core: debug
file: file:
# 指定路径 # 指定路径
path: lili-logs path: lili-logs
logback:
rollingpolicy:
# 最大保存天数 # 最大保存天数
max-history: 7 max-history: 7
# 每个文件最大大小 # 每个文件最大大小
max-size: 5MB max-file-size: 5MB
#加密参数 #加密参数
jasypt: jasypt:
encryptor: encryptor:
@ -186,7 +182,12 @@ jasypt:
lili: lili:
system: system:
isDemoSite: false isDemoSite: true
# 脱敏级别:
# 0不做脱敏处理
# 1管理端用户手机号等信息脱敏
# 2商家端信息脱敏为2时表示管理端商家端同时脱敏
sensitiveLevel: 1
statistics: statistics:
# 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数 # 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数
onlineMember: 48 onlineMember: 48
@ -226,7 +227,7 @@ lili:
data: data:
elasticsearch: elasticsearch:
cluster-name: elasticsearch cluster-name: elasticsearch
cluster-nodes: 192.168.2.126:9200 cluster-nodes: 192.168.2.122:9200
index: index:
number-of-replicas: 0 number-of-replicas: 0
number-of-shards: 3 number-of-shards: 3
@ -235,7 +236,8 @@ lili:
# account: # account:
# username: elastic # username: elastic
# password: LiLiShopES # password: LiLiShopES
logstash:
server: 192.168.2.122:4560
rocketmq: rocketmq:
promotion-topic: lili_promotion_topic promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group promotion-group: lili_promotion_group
@ -256,7 +258,7 @@ lili:
after-sale-topic: lili_after_sale_topic after-sale-topic: lili_after_sale_topic
after-sale-group: lili_after_sale_group after-sale-group: lili_after_sale_group
rocketmq: rocketmq:
name-server: 192.168.2.126:9876 name-server: 192.168.2.122:9876
producer: producer:
group: lili_group group: lili_group
send-message-timeout: 30000 send-message-timeout: 30000
@ -264,7 +266,7 @@ rocketmq:
xxl: xxl:
job: job:
admin: admin:
addresses: http://192.168.2.126:9001/xxl-job-admin addresses: http://192.168.2.122:9001/xxl-job-admin
executor: executor:
appname: xxl-job-executor-lilishop appname: xxl-job-executor-lilishop
address: address:

View File

@ -1,5 +1,6 @@
server: server:
port: 8889 # port: 8889
port: 30004
servlet: servlet:
context-path: / context-path: /
@ -22,26 +23,18 @@ management:
exposure: exposure:
include: '*' include: '*'
spring: spring:
application:
name: seller-api
# 要在其中注册的Spring Boot Admin Server的URL。 # 要在其中注册的Spring Boot Admin Server的URL。
boot: boot:
admin: admin:
client: client:
url: http://127.0.0.1:8000 url: http://127.0.0.1:30000
# mongodb
data:
mongodb:
host: 192.168.2.126
port: 27017
database: rx-shop
username: goboo
password: Gb84505016
authentication-database: admin
# replica-set-name: mongoreplset
cache: cache:
type: redis type: redis
# Redis # Redis
redis: redis:
host: 192.168.2.126 host: 192.168.2.122
port: 6379 port: 6379
password: Gb84505016 password: Gb84505016
lettuce: lettuce:
@ -114,7 +107,7 @@ spring:
# #范围查询实现 # #范围查询实现
# range-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm # range-algorithm-class-name: cn.lili.mybatis.sharding.CreateTimeShardingTableAlgorithm
props: props:
#是否打印逻辑SQL语句和实际SQL语句建议调试时打印在生产环境关闭 sql打印 #是否打印逻辑SQL语句和实际SQL语句建议调试时打印在生产环境关闭
sql: sql:
show: true show: true
@ -127,7 +120,7 @@ ignored:
- /MP_verify_qSyvBPhDsPdxvOhC.txt - /MP_verify_qSyvBPhDsPdxvOhC.txt
- /weixin/** - /weixin/**
- /source/** - /source/**
- /store/login/** - /store/passport/login/**
- /druid/** - /druid/**
- /swagger-ui.html - /swagger-ui.html
- /doc.html - /doc.html
@ -164,19 +157,21 @@ mybatis-plus:
# 日志 # 日志
logging: logging:
config: classpath:logback-spring.xml
# 输出级别 # 输出级别
level: level:
cn.lili: info cn.lili: info
# org.hibernate: debug # org.hibernate: debug
# org.springframework: debug # org.springframework: debug
# org.springframework.data.mongodb.core: debug
file: file:
# 指定路径 # 指定路径
path: lili-logs path: lili-logs
logback:
rollingpolicy:
# 最大保存天数 # 最大保存天数
max-history: 7 max-history: 7
# 每个文件最大大小 # 每个文件最大大小
max-size: 5MB max-file-size: 5MB
#加密参数 #加密参数
jasypt: jasypt:
encryptor: encryptor:
@ -184,7 +179,7 @@ jasypt:
lili: lili:
system: system:
isDemoSite: false isDemoSite: true
statistics: statistics:
# 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数 # 在线人数统计 X 小时。这里设置48即统计过去48小时每小时在线人数
onlineMember: 48 onlineMember: 48
@ -224,7 +219,7 @@ lili:
data: data:
elasticsearch: elasticsearch:
cluster-name: elasticsearch cluster-name: elasticsearch
cluster-nodes: 192.168.2.126:9200 cluster-nodes: 192.168.2.122:9200
index: index:
number-of-replicas: 0 number-of-replicas: 0
number-of-shards: 3 number-of-shards: 3
@ -233,7 +228,8 @@ lili:
# account: # account:
# username: elastic # username: elastic
# password: LiLiShopES # password: LiLiShopES
logstash:
server: 192.168.2.122:4560
rocketmq: rocketmq:
promotion-topic: lili_promotion_topic promotion-topic: lili_promotion_topic
promotion-group: lili_promotion_group promotion-group: lili_promotion_group
@ -254,7 +250,7 @@ lili:
after-sale-topic: lili_after_sale_topic after-sale-topic: lili_after_sale_topic
after-sale-group: lili_after_sale_group after-sale-group: lili_after_sale_group
rocketmq: rocketmq:
name-server: 192.168.2.126:9876 name-server: 192.168.2.122:9876
producer: producer:
group: lili_group group: lili_group
send-message-timeout: 30000 send-message-timeout: 30000
@ -262,7 +258,7 @@ rocketmq:
xxl: xxl:
job: job:
admin: admin:
addresses: http://192.168.2.126:9001/xxl-job-admin addresses: http://192.168.2.122:9001/xxl-job-admin
executor: executor:
appname: xxl-job-executor-lilishop appname: xxl-job-executor-lilishop
address: address: