config下的application中服务IP地址更换为127.0.0.1

This commit is contained in:
chc
2025-05-08 14:26:03 +08:00
parent ffa0b0db30
commit 131d4eb156

View File

@@ -20,6 +20,19 @@ management:
exposure: exposure:
include: '*' include: '*'
spring: spring:
mail:
host: smtp.qq.com
port: 465
username: lifenlong@foxmail.com
password: dirpxpqgfvysbefh
protocol: smtps
properties:
mail:
smtp:
auth: true
starttls:
enable: true
# 要在其中注册的Spring Boot Admin Server的URL。 # 要在其中注册的Spring Boot Admin Server的URL。
boot: boot:
admin: admin:
@@ -29,8 +42,8 @@ spring:
type: redis type: redis
# Redis # Redis
redis: redis:
host: 192.168.31.100 host: 127.0.0.1
port: 30379 port: 6379
password: lilishop password: lilishop
lettuce: lettuce:
pool: pool:
@@ -60,7 +73,7 @@ spring:
default-datasource: default-datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.31.100:30306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
username: root username: root
password: lilishop password: lilishop
maxActive: 50 maxActive: 50
@@ -211,10 +224,10 @@ lili:
faultTolerant: 3 faultTolerant: 3
system: system:
isDemoSite: false isDemoSite: false
# 脱敏级别: # 脱敏级别:
# 0不做脱敏处理 # 0不做脱敏处理
# 1管理端用户手机号等信息脱敏 # 1管理端用户手机号等信息脱敏
# 2商家端信息脱敏为2时表示管理端商家端同时脱敏 # 2商家端信息脱敏为2时表示管理端商家端同时脱敏
sensitiveLevel: 1 sensitiveLevel: 1
statistics: statistics:
@@ -256,7 +269,7 @@ lili:
data: data:
elasticsearch: elasticsearch:
cluster-name: elasticsearch cluster-name: elasticsearch
cluster-nodes: 192.168.31.100:30920 cluster-nodes: 127.0.0.1:9200
index: index:
number-of-replicas: 0 number-of-replicas: 0
number-of-shards: 3 number-of-shards: 3
@@ -267,7 +280,7 @@ lili:
# password: LiLiShopES # password: LiLiShopES
logstash: logstash:
server: 192.168.31.100:30560 server: 127.0.0.1:4560
rocketmq: rocketmq:
promotion-topic: shop_lili_promotion_topic promotion-topic: shop_lili_promotion_topic
promotion-group: shop_lili_promotion_group promotion-group: shop_lili_promotion_group
@@ -288,7 +301,7 @@ lili:
after-sale-topic: shop_lili_after_sale_topic after-sale-topic: shop_lili_after_sale_topic
after-sale-group: shop_lili_after_sale_group after-sale-group: shop_lili_after_sale_group
rocketmq: rocketmq:
name-server: 192.168.31.100:9876 name-server: 127.0.0.1:9876
isVIPChannel: false isVIPChannel: false
producer: producer:
group: lili_group group: lili_group
@@ -297,7 +310,7 @@ rocketmq:
xxl: xxl:
job: job:
admin: admin:
addresses: http://192.168.31.100:30001/xxl-job-admin addresses: http://127.0.0.1:9001/xxl-job-admin
executor: executor:
appname: xxl-job-executor-lilishop appname: xxl-job-executor-lilishop
address: address: