File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 1414 } elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
1515 $ CONFIG ['redis ' ]['port ' ] = 6379 ;
1616 }
17+ if (getenv ('REDIS_DBINDEX ' ) !== false ) {
18+ $ CONFIG ['redis ' ]['dbindex ' ] = (int ) getenv ('REDIS_DBINDEX ' );
19+ }
20+
1721}
Original file line number Diff line number Diff line change @@ -160,6 +160,7 @@ If you want to use Redis you have to create a separate [Redis](https://hub.docke
160160- ` REDIS_HOST ` (not set by default) Name of Redis container
161161- ` REDIS_HOST_PORT ` (default: ` 6379 ` ) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
162162- ` REDIS_HOST_PASSWORD ` (not set by default) Redis password
163+ - ` REDIS_DBINDEX ` (not set by default) Value for dbindex config value
163164
164165The use of Redis is recommended to prevent file locking problems. See the examples for further instructions.
165166
You can’t perform that action at this time.
0 commit comments