docker-compose redis password via environment variable
I'm trying to pass my redis password using docker-compose via environment variable but it gives me errors. Here is part of mine docker-compose.yml with redis image: redis: image: redis container_name: redis # command: redis-server --requirepass mypassword <--- this works as…