chore(config): 更新开发环境数据库和Redis配置
- 将application.yml中的active profile由glt2改为dev - 更新application-dev.yml中的MySQL连接信息,包括url、用户名和密码 - 修改Redis服务器地址以匹配新的环境设置 - 添加新文件expert-history.json和MEMORY.md用于记录扩展历史和内存使用情况
This commit is contained in:
@@ -7,16 +7,16 @@ server:
|
|||||||
# 数据源配置
|
# 数据源配置
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://47.107.249.41:13306/gltdb?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
url: jdbc:mysql://8.134.55.105:13306/modules?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
|
||||||
username: gltdb
|
username: modules
|
||||||
password: EeD4FtzyA5ksj7Bk
|
password: tYmmMGh5wpwXR3ae
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
|
|
||||||
# redis
|
# redis
|
||||||
redis:
|
redis:
|
||||||
database: 0
|
database: 0
|
||||||
host: 47.107.249.41
|
host: 8.134.55.105
|
||||||
port: 16379
|
port: 16379
|
||||||
password: redis_t74P8C
|
password: redis_t74P8C
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ server:
|
|||||||
# 多环境配置
|
# 多环境配置
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
active: glt2
|
active: dev
|
||||||
|
|
||||||
application:
|
application:
|
||||||
name: server
|
name: server
|
||||||
|
|||||||
Reference in New Issue
Block a user