[Django]-Redis Error condition on socket for SYNC: Connection refused

5👍

solved by change ports config with expose as Iain Shelvington mentioned above

   redis:
      image: 'redis:alpine'
      restart: unless-stopped
      command: redis-server /usr/local/etc/redis/redis.conf
      volumes:
        - ./docker/redis/redis.conf:/usr/local/etc/redis/redis.conf
      expose:
        - 6379

0👍

Add this setting to slave redis.conf file.

bind 0.0.0.0

Leave a comment