title: docker-compose redis and redis commander
body: <p>I use the windows docker toolbox and I am confused what I am missing. I want to use redis commander (<a href="https://www.npmjs.com/package/redis-commander" rel="nofollow noreferrer">https://www.npmjs.com/package/redis-commander</a>) with a docker image redis from the docker hub.</p>
  
  <p>I used the docker-compose.yml from above link:</p>
  
  <pre><code>version: '3'
  services:
    redis:
      container_name: redis
      hostname: redis
      image: redis
  
    redis-commander:
      container_name: redis-commander
      hostname: redis-commander
      image: rediscommander/redis-commander:latest
      build: .
      restart: always
      environment:
      - REDIS_HOSTS=local:redis:6379
      ports:
      - 8081:8081
  </code></pre>
  
  <p>Now I can start the app with the toolbox IP on port 8081
  Ther it says undefined redis server: local:redis:6379:0</p>
  
  <p>Since I am using the toolbox I assume I have to put some IP correct in the compose file.</p>
  
  <p>Using redis alone with <code>$ docker run --name some-redis -d redis
  </code></p>
  
  <p>works and I can reach the server und er local:6379</p>
  
  <p>But what means <code>REDIS_HOSTS=local:redis:6379</code></p>
  
  <p>Any help to set this up correctly?</p>