添加开发配置
This commit is contained in:
parent
cf2295b85f
commit
78d47cf363
2 changed files with 6 additions and 20 deletions
|
|
@ -1,14 +0,0 @@
|
||||||
|
|
||||||
spring:
|
|
||||||
datasource:
|
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
||||||
url: jdbc:mysql://192.168.1.20:3306/findme-merchant?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
||||||
username: root
|
|
||||||
password: 123456
|
|
||||||
data:
|
|
||||||
redis:
|
|
||||||
host: 192.168.1.20
|
|
||||||
port: 6379
|
|
||||||
password: 123456
|
|
||||||
database: 0
|
|
||||||
timeout: 3s
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
active: default,local
|
active: default
|
||||||
application:
|
application:
|
||||||
name: findme-backend-merchant
|
name: findme-backend-merchant
|
||||||
main:
|
main:
|
||||||
|
|
@ -21,14 +21,14 @@ spring:
|
||||||
format_sql: true
|
format_sql: true
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://${MYSQL_HOST:192.168.1.20}:${MYSQL_PORT:3306}/findme-merchant?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
url: jdbc:mysql://${MYSQL_HOST:8.137.94.92}:${MYSQL_PORT:23306}/findme-merchant?useSSL=false&useUnicode=true&characterEncoding=utf-8&autoReconnect=true&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||||
username: ${MYSQL_USER:root}
|
username: ${MYSQL_USER:root}
|
||||||
password: ${MYSQL_PASS:123456}
|
password: ${MYSQL_PASS:pW2CwlHte3%^#y8Z}
|
||||||
data:
|
data:
|
||||||
redis:
|
redis:
|
||||||
host: ${REDIS_HOST:192.168.1.20}
|
host: ${REDIS_HOST:8.137.94.92}
|
||||||
port: ${REDIS_PORT:6379}
|
port: ${REDIS_PORT:26379}
|
||||||
password: ${REDIS_PASS:123456}
|
password: ${REDIS_PASS:9Hii(AaVzTNY<%e}
|
||||||
database: 0
|
database: 0
|
||||||
timeout: 3s
|
timeout: 3s
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue