On limite la taille du redis
This commit is contained in:
parent
5e7c486e57
commit
e63d232bff
@ -42,6 +42,7 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
container_name: "${APP_NAME}-redis"
|
container_name: "${APP_NAME}-redis"
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
|
command: ["redis-server", "--appendonly", "no", "--maxmemory", "500mb", "--maxmemory-policy", "allkeys-lru"]
|
||||||
volumes:
|
volumes:
|
||||||
- redis_data:/data
|
- redis_data:/data
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user