mirror of
https://gitee.com/gz-yami/mall4j.git
synced 2025-12-26 07:56:43 +08:00
环境变量传递参数
This commit is contained in:
parent
5aaad965d2
commit
56dec22d99
@ -1,8 +1,8 @@
|
||||
# 单节点设置
|
||||
singleServerConfig:
|
||||
address: redis://mall4j-redis:6379
|
||||
database: 0
|
||||
password: null
|
||||
address: redis://${REDIS_HOST}:${REDIS_PORT}
|
||||
database: ${REDIS_DATABASE}
|
||||
password: ${REDIS_PASSWORD}
|
||||
idleConnectionTimeout: 10000
|
||||
pingTimeout: 1000
|
||||
connectTimeout: 10000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user