尝试docker-compose启动
This commit is contained in:
@@ -6,7 +6,7 @@ spring:
|
||||
# [必须修改] 端口号
|
||||
port: ${REDIS_PORT:6379}
|
||||
# [可选] 数据库 DB
|
||||
database: 6
|
||||
database: ${REDIS_DB:6}
|
||||
# [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
|
||||
password: ${REDIS_PWD}
|
||||
# [可选] 超时时间
|
||||
|
||||
Reference in New Issue
Block a user