添加完整IDE配置

This commit is contained in:
Lei Xu
2022-02-15 15:22:52 +08:00
parent ecbb9d78ac
commit 1b372f7387
4 changed files with 47 additions and 5 deletions

View File

@ -6,7 +6,7 @@ spring:
druid:
# 主库数据源
master:
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://ruoyi-db:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: password
# 从库数据源

View File

@ -62,7 +62,7 @@ spring:
# redis 配置
redis:
# 地址
host: localhost
host: gruoyi-redis
# 端口默认为6379
port: 6379
# 数据库索引