-
-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Labels
Status: AbandonedDropped and not into considerationDropped and not into consideration
Description
I seem to have installed and configured Redis correctly as specified, but whenever I try to use some redis command I get this error message: "NOAUTH Authentication required.".
I'm using --requirepass and even setting the 'password' property on the local connection in config redis I'm still "NOAUTH". What to do?
redis.ts
...
connection: Env.get('REDIS_CONNECTION'),
connections: {
local: {
host: Env.get('REDIS_HOST'),
port: Env.get('REDIS_PORT'),
password: Env.get('REDIS_PASSWORD', ''),
db: 0,
keyPrefix: 'cache:',
},
}
.env
REDIS_CONNECTION=local
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=123
docker-compose.yml
services:
redis:
image: redis:latest
restart: always
command: redis-server --save 60 1 --loglevel warning --requirepass 123
ports:
- '6379:6379'
Metadata
Metadata
Assignees
Labels
Status: AbandonedDropped and not into considerationDropped and not into consideration