erikdubbelboer / phpRedisAdmin

Simple web interface to manage Redis databases.
http://dubbelboer.com/phpRedisAdmin/
3.11k stars 666 forks source link

Allow scheme config from env vars #209

Closed arielectron closed 1 month ago

arielectron commented 1 month ago

Hi Erik.

I hope you are doing well.

I suggest this changes for allow to Docker users to configure the schema of the connection.

Thanks. Ariel.

arielectron commented 1 month ago

Two ways for config the scheme:

URL mode: REDIS_1_HOST=tls://host:port

_whithout config REDIS_1_PORT nor REDIS_1SCHEME

Host mode: REDIS_1_HOST=host REDIS_1_PORT=port REDIS_1_SCHEME=tls