Commit 96d9a77dbe1c1f11bbeda520ee69d46aad2c733f
1 parent
01322572
修复REDIS_PWD导致的docker镜像无法启动
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/resources/application-dev.yml
| @@ -8,7 +8,7 @@ spring: | @@ -8,7 +8,7 @@ spring: | ||
| 8 | # [可选] 数据库 DB | 8 | # [可选] 数据库 DB |
| 9 | database: ${REDIS_DB:6} | 9 | database: ${REDIS_DB:6} |
| 10 | # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 | 10 | # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 |
| 11 | - password: ${REDIS_PWD} | 11 | + password: ${REDIS_PWD:} |
| 12 | # [可选] 超时时间 | 12 | # [可选] 超时时间 |
| 13 | timeout: 10000 | 13 | timeout: 10000 |
| 14 | # [可选] jdbc数据库配置, 项目使用sqlite作为数据库,一般不需要配置 | 14 | # [可选] jdbc数据库配置, 项目使用sqlite作为数据库,一般不需要配置 |