sameersbn / docker-redis

Dockerfile to create a Docker container image for Redis.
MIT License
156 stars 140 forks source link

Not compatible anymore with sameersbn/gitlab #16

Closed zifeo closed 6 years ago

zifeo commented 6 years ago

This redis runs with protected mode enabled so gitlab is not able to communicate without setting a password. Either implement https://github.com/sameersbn/docker-gitlab/issues/1453 or disable protected mode on start with --protected-mode no.

Redis::CommandError: DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients. In this mode connections are only accepted from the loopback interface. If you want to connect from external computers to Redis you may adopt one of the following solutions: 1) Just disable protected mode sending the command 'CONFIG SET protected-mode no' from the loopback interface by connecting to Redis from the same host the server is running, however MAKE SURE Redis is not publicly accessible from internet if you do so. Use CONFIG REWRITE to make this change permanent. 2) Alternatively you can just disable the protected mode by editing the Redis configuration file, and setting the protected mode option to 'no', and then restarting the server. 3) If you started the server manually just for testing, restart it with the '--protected-mode no' option. 4) Setup a bind address or an authentication password. NOTE: You only need to do one of the above things in order for the server to start accepting connections from the outside.

cc @sameersbn

sameersbn commented 6 years ago

@zifeo Sorry about that. We need to pin the redis image version in the docker-compose.yaml to the 3.x release. 4.x is not compatible at the moment

sameersbn commented 6 years ago

I've created https://github.com/sameersbn/docker-gitlab/pull/1667 to pin the version to the 3.x release until we have implemented compatibility with 4.0