Administrator
yesterday b67a84fc231fdd8a3390746bf493ed0af43ea97b
chore(config): 更新生产环境配置为本地地址

- 将数据库连接地址从远程IP改为localhost
- 将Redis服务器地址从远程IP改为localhost
- 将RabbitMQ服务器地址从远程IP改为localhost
1 files modified
6 ■■■■ changed files
src/main/resources/application-prod.yml 6 ●●●● patch | view | raw | blame | history
src/main/resources/application-prod.yml
@@ -18,13 +18,13 @@
          username: db_gzyp_prd
          password: gzyp123!@#123
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://47.96.43.206:3306/db_gzyp_prd?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
          url: jdbc:mysql://127.0.0.1:3306/db_gzyp_prd?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
  redis:
    # Redis数据库索引(默认为 0)
    database: 0
    # Redis服务器地址
    host: 47.96.43.206
    host: 127.0.0.1
    # Redis服务器连接端口
    port: 6379
    # Redis 密码
@@ -42,7 +42,7 @@
    # 连接超时时间(毫秒)
    timeout: 5000
  rabbitmq:
    host: 47.96.43.206
    host: 127.0.0.1
    port: 5672
    username: xc_rabbit
    password: xuncong123