diff --git a/gringotts-web/src/main/resources/application.yml b/gringotts-web/src/main/resources/application.yml index 03c5e70..29221de 100644 --- a/gringotts-web/src/main/resources/application.yml +++ b/gringotts-web/src/main/resources/application.yml @@ -39,7 +39,29 @@ logging: spring: config: activate: - on-profile: macOS + on-profile: dev + datasource: + url: jdbc:h2:./database;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE + username: lanyuanxiaoyao + password: lanyuanxiaoyao + driver-class-name: org.h2.Driver + +--- +spring: + config: + activate: + on-profile: build + datasource: + url: jdbc:mysql://132.122.1.185:31000/gringotts + username: iap + password: SLvwP6@SM2J*SbUw_iap + driver-class-name: com.mysql.cj.jdbc.Driver + +--- +spring: + config: + activate: + on-profile: macos gringotts: upload: upload-path: /Users/lanyuanxiaoyao/Project/IdeaProjects/gringotts/gringotts-web/target/upload