| | |
| | | # 开发环境配置 |
| | | server: |
| | | # 服务器的HTTP端口,默认为8080 |
| | | port: 8085 |
| | | port: 8080 |
| | | servlet: |
| | | # 应用的访问路径 |
| | | context-path: /zgyw |
| | | context-path: / |
| | | tomcat: |
| | | # tomcat的URI编码 |
| | | uri-encoding: UTF-8 |
| | |
| | | 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 |
| | | |
| | |
| | | spring.data: |
| | | redis: |
| | | # 地址 |
| | | host: 127.0.0.1 |
| | | host: 42.193.1.25 |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | password: |
| | | password: ycl2018 |
| | | # 数据库索引 |
| | | database: 1 |
| | | database: 0 |
| | | # 密码(如没有密码请注释掉) |
| | | # password: |
| | | # 连接超时时间 |