Redis + RateLimiting
This commit is contained in:
@@ -29,3 +29,15 @@ services:
|
||||
context: './docker/php/'
|
||||
links:
|
||||
- db
|
||||
- cache
|
||||
cache:
|
||||
container_name: webbase-redis
|
||||
image: redis:latest
|
||||
ports:
|
||||
- '6379:6379'
|
||||
command: redis-server --save 20 1 --loglevel warning --requirepass webbase-redis
|
||||
volumes:
|
||||
- cache:/data
|
||||
volumes:
|
||||
cache:
|
||||
driver: local
|
||||
Reference in New Issue
Block a user