Redis Upload Rate Limiting
If you want to use Redis for upload rate limiting in Docker Compose, configure these values in docker-compose.yml:
- Set
UPLOAD_RATE_LIMIT_STORE: redisin4gaBoardsserviceenvironment. - Set
UPLOAD_RATE_LIMIT_REDIS_URL: redis://:<password>@redis:6379/0in4gaBoardsserviceenvironment. - Replace
notredispasswordwith randomly generated redis password (3 occurrences):- in
redisservicecommand - in
redisservicehealthcheck - in
4gaBoardsserviceUPLOAD_RATE_LIMIT_REDIS_URL
- in
tip
You can generate a password with: openssl rand -hex 32
See also: Docker Compose Variables