* fix: parse redis url to get hostname and port * fix: redis url accepted for connection * chore: add redis url to example env * fix: let users add redis port and host incase redis url is not present * chore: create url from host and port variables * fix: return empty string incase of no config
6 lines
221 B
Text
6 lines
221 B
Text
API_BASE_URL="http://api:8000"
|
|
REDIS_URL="redis://localhost:6379"
|
|
|
|
# If you prefer not to provide a Redis URL, you can set the REDIS_HOST and REDIS_PORT environment variables instead.
|
|
REDIS_PORT=6379
|
|
REDIS_HOST=localhost
|