title: RQ-Worker can't connect to Redis in Docker
body: <p>All my services are running properly. But RQ-Worker doesn't do my scheduled job. Everything was fine locally, (so I think I just need to pass new redis docker service hostname to him, but how do it it inside docker-compose?)</p>
  
  <p>My docker-compose.yml</p>
  
  <pre><code>version: '3.5'
  
  services:
  
    web:
      build: ./webapp
      image: webapp
      container_name: webapp
      ports:
        - "5000:5000"
      depends_on:
        - redis-server
        - mongodb
  
    redis-server:
      image: redis:alpine
      ports:
        - 6379:6379
      expose:
        - '6379'
  
    mongodb:
      image: mongo:4.2-bionic
      container_name: mongodb
      ports:
        - "27017:27017"
      deploy:
        restart_policy:
          condition: always
  
    rq-worker:
      image: jaredv/rq-docker:0.0.2
      container_name: rq-worker
      command: rq worker -u redis://redis-server:6379 high normal low
      deploy:
        replicas: 1
      depends_on:
        - redis-server
  </code></pre>