feat(web): 更新数据库配置并添加新环境配置
- 新增 dev 和 build 环境配置 - 更新 macOS 环境配置- 添加 MySQL 和 H2 数据库配置
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user