# Configuration for Redis connection settings # Use this if Redis is hosted externally or deployed separately outside of Docker Compose. # Replace "localhost" with the actual host address or IP of your Redis instance. # REDIS_HOST="redis://:/" # Example for a hosted Redis: # REDIS_HOST="redis://redis.example.com:6379/0" # If using Docker Compose and Redis is one of the services defined within the docker-compose.yml file, # you can use the service name 'redis' as the host. This ensures the internal communication between services. REDIS_HOST=redis://redis:6379/0 # Explanation: # - redis://: The protocol used by Redis. # - redis: The hostname where Redis is running. In Docker Compose, this matches the service name defined in the compose file. # - 6379: The default port on which Redis is running. # - /0: The Redis database number to connect to. Redis supports multiple databases, and this specifies which one to use.