xiangpei
2024-08-15 0b3bc7668878340ee956ad66a1bf19942eb4a4c0
配置文件
1个文件已修改
14 ■■■■ 已修改文件
ycl-server/src/main/resources/application-dev.yml 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-server/src/main/resources/application-dev.yml
@@ -17,10 +17,10 @@
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8085
  port: 8080
  servlet:
    # 应用的访问路径
    context-path: /zgyw
    context-path: /
  tomcat:
    # tomcat的URI编码
    uri-encoding: UTF-8
@@ -36,9 +36,9 @@
spring:
  # 数据源配置
  datasource:
    url: jdbc:mysql://51.92.65.72:3306/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8
    url: jdbc:mysql://101.35.247.188/zgyw?useUnicode=true&characterEncoding=utf8&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8
    username: root
    password: zgyw@202488
    password: ycl@202466
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
@@ -76,12 +76,12 @@
spring.data:
  redis:
    # 地址
    host: 127.0.0.1
    host: 42.193.1.25
    # 端口,默认为6379
    port: 6379
    password:
    password: ycl2018
    # 数据库索引
    database: 1
    database: 0
    # 密码(如没有密码请注释掉)
    # password:
    # 连接超时时间