How to set password for Redis Database (Container)

INFORMATION

Our application is already built into Docker images. In the code we connect to Redis with a password (thru secret). Want to set a password for Redis database (container)

ISSUE

We can’t change code just for testing. Too much to change

Hi @sureba73 , did you watch the video here:

around 1min we explain how to connect your app to your database.

@rophilogene Yes we did watch the video.

The problem is - we already have pre-built docker images. We don’t want to make changes to the code just for testing purposes. We need to pass the password of Redis database container which seems to be blank. Our app doesn’t allow blank password for Redis. We need a way to apply a password to Redis db container. Is that possible?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.