You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
422 B

5 years ago
# Redis w/ Docker Compose
Password authentication is achieved through running a custom redis-server command to require the `"password"` password.
## Enter the Container w/ Bash
`docker-compose exec --user root db /bin/bash`
## Enter the Redis Shell
`docker-compose exec --user root db redis-cli`
## Super User Authentication
Password: `password`
While inside the shell, run the following:
```
AUTH "password"
```