修改mysql,redis地址及密码
This commit is contained in:
parent
278d915032
commit
ad2701bfe1
|
@ -1,15 +1,15 @@
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://${MYSQL_IP:localhost}:${MYSQL_PORT:3306}/wx?useUnicode=true&allowPublicKeyRetrieval=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
|
url: jdbc:mysql://${MYSQL_IP:62.234.217.137}:${MYSQL_PORT:3306}/wx?useUnicode=true&allowPublicKeyRetrieval=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useSSL=false
|
||||||
username: ${MYSQL_USERNAME:root}
|
username: ${MYSQL_USERNAME:root}
|
||||||
# password: ${MYSQL_PASSWORD:abdusamat}
|
# password: ${MYSQL_PASSWORD:abdusamat}
|
||||||
password: ${MYSQL_PASSWORD:123456}
|
password: ${MYSQL_PASSWORD:nWZpHMb8mNxWE5Xk}
|
||||||
redis:
|
redis:
|
||||||
host: ${REDIS_IP:localhost}
|
host: ${REDIS_IP:62.234.217.137}
|
||||||
database: ${REDIS_DATABASE:1}
|
database: ${REDIS_DATABASE:7}
|
||||||
port: ${REDIS_PORT:6379}
|
port: ${REDIS_PORT:6379}
|
||||||
# password: ${REDIS_PASSWORD:''}
|
password: ${REDIS_PASSWORD:LSHCwjr6ZN4hzCxS}
|
||||||
|
|
||||||
springfox:
|
springfox:
|
||||||
documentation:
|
documentation:
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://10.6.100.125:3306/wx?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://localhost:3306/wx?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
|
||||||
username: root
|
username: root
|
||||||
password: Abdusamat621
|
password: nWZpHMb8mNxWE5Xk
|
||||||
redis:
|
redis:
|
||||||
database: 0
|
database: 0
|
||||||
host: 10.0.0.7
|
host: localhost
|
||||||
port: 6379
|
port: 6379
|
||||||
password: Abdusamat621
|
password: LSHCwjr6ZN4hzCxS
|
||||||
#https://console.cloud.tencent.com/redis#/
|
#https://console.cloud.tencent.com/redis#/
|
||||||
springfox:
|
springfox:
|
||||||
documentation:
|
documentation:
|
||||||
|
|
Loading…
Reference in New Issue