redis connection error within docker container
问题 I'm trying to setup a light-weight RQ task queue app running in Docker. I keep on getting this error: ValueError: Redis URL must specify one of the following schemes (redis://, rediss://, unix://) When grabbing from environmental variable ( os.getenv() ) it doesn't work, but somehow when hard-coding in redis://redis:6379/0 , it seems to work. However, this is not really a long-term solution in my opinion. I looked at: link1 and link2, but there wasn't really a solution, the thread went dead.