File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 14
14
} elseif (getenv ('REDIS_HOST ' )[0 ] != '/ ' ) {
15
15
$ CONFIG ['redis ' ]['port ' ] = 6379 ;
16
16
}
17
+ if (getenv ('REDIS_DBINDEX ' ) !== false ) {
18
+ $ CONFIG ['redis ' ]['dbindex ' ] = (int ) getenv ('REDIS_DBINDEX ' );
19
+ }
17
20
}
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
160
160
- ` REDIS_HOST ` (not set by default) Name of Redis container
161
161
- ` REDIS_HOST_PORT ` (default: ` 6379 ` ) Optional port for Redis, only use for external Redis servers that run on non-standard ports.
162
162
- ` REDIS_HOST_PASSWORD ` (not set by default) Redis password
163
+ - ` REDIS_DBINDEX ` (not set by default) Value for dbindex config value
163
164
164
165
The use of Redis is recommended to prevent file locking problems. See the examples for further instructions.
165
166
You can’t perform that action at this time.
0 commit comments