Skip to content

Conversation

@skchqhdpdy
Copy link

Describe your changes

In the docker-compose.yml file, the Redis section does not have an environment: entry, so the environment variables set in the .env file are not passed into the Docker container. I suspect this is why the redis-server always runs without a password.

I’m not very familiar with using Docker, so I asked ChatGPT, and the response was that the environment: entry is necessary for the password to be applied.

The YouTube link below shows videos I recorded myself using redis-cli.exe to connect.
https://youtu.be/72fQFjOm_I8
The first demonstration shows connecting when the environment: option is missing.
The second demonstration shows connecting when the option is present.
The third demonstration shows attempting to connect again when the option is missing.

Related Issues / Projects

Checklist

  • I've manually tested my code

@NiceAesth
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants