You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know the PID is irrelevant w.r.t docker and daemonisation, but the bind and protected-mode configs are the breaking change here.
Commenting all binds now gives:
redis.exceptions.ConnectionError: Error 104 while writing to socket. Connection reset by peer.
Changing bind to just be bind:* -::* gives:
redis.exceptions.ConnectionError: Error -3 connecting to redis:6379. Temporary failure in name resolution.
What worked in the end was having protected-mode:no and all binds commented.
If requested, I can send a PR to the doc for the Redis Docker Hub to have the "Additionally, if you want to use your own redis.conf ..." section reflect the above guidance?
The text was updated successfully, but these errors were encountered:
I'm using Redis 7.4.0 via docker compose. This repo contains no
redis.conf
, so presumably you use the default conf in the main repo.I downloaded the default conf at that tag.
Then tell compose to use it:
However, now for some reason, I get this error from my Python app:
I still haven't made any changes to
redis.conf
.Troubleshooting
Trying to determine if the "default default" config and "supplied default" config differs:
Before
compose.yml
change:After
compose.yml
change:Some pre-processing, as the keys are unordered:
Lo and behold, the 2 outputs differ:
I know the PID is irrelevant w.r.t docker and daemonisation, but the
bind
andprotected-mode
configs are the breaking change here.Commenting all
bind
s now gives:Changing bind to just be
bind:* -::*
gives:What worked in the end was having
protected-mode:no
and allbind
s commented.If requested, I can send a PR to the doc for the Redis Docker Hub to have the "Additionally, if you want to use your own redis.conf ..." section reflect the above guidance?
The text was updated successfully, but these errors were encountered: