配置文件

master projectManagement
yangjie 4 years ago
parent 7edc6b080a
commit 2efd00bf72
  1. 11
      src/main/resources/application-dev.properties
  2. 13
      src/main/resources/application-prod.properties
  3. 11
      src/main/resources/application-test.properties
  4. 2
      src/main/resources/application.properties
  5. 3
      src/main/resources/application.yml

@ -0,0 +1,11 @@
spring.datasource.url=jdbc:mysql://116.63.168.79:3306/keda?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
spring.datasource.username=root
spring.datasource.password=123456
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jackson.default-property-inclusion=non_null
server.port=1010
server.servlet.context-path=/project
logging.level.com.yipin.liuwanr.mapper=debug

@ -0,0 +1,13 @@
#spring.datasource.url=jdbc:mysql://116.63.168.79:3306/keda?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
spring.datasource.url=jdbc:mysql://192.168.0.99:3306/keda?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
spring.datasource.username=root
#spring.datasource.password=123456
spring.datasource.password=mssdk@028
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jackson.default-property-inclusion=non_null
server.port=1010
server.servlet.context-path=/project
logging.level.com.yipin.liuwanr.mapper=debug

@ -0,0 +1,11 @@
spring.datasource.url=jdbc:mysql://rm-wz9y13wf7u8q8610fwo.mysql.rds.aliyuncs.com:3306/keda?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai
spring.datasource.username=super
spring.datasource.password=huoran888
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jackson.default-property-inclusion=non_null
server.port=1010
server.servlet.context-path=/project
logging.level.com.yipin.liuwanr.mapper=debug

@ -1,2 +0,0 @@
#\u9009\u62E9\u6307\u5B9A\u73AF\u5883,\u76EE\u524D\u5206\u79D1\u5927\u9879\u76EE\u548C\u804C\u7AD9\u9879\u76EE
spring.profiles.active=keda

@ -0,0 +1,3 @@
spring:
profiles:
active: test
Loading…
Cancel
Save