update redis run configs

This commit is contained in:
Parsa Nazer
2026-05-28 10:35:13 +03:30
parent c07d4b802b
commit a89376e4c4
+5 -4
View File
@@ -17,8 +17,7 @@ services:
django:
container_name: shop_backend
build:
context: ./backend
image: fix_update_bank:latest
ports:
- "8000:8000"
depends_on:
@@ -108,8 +107,10 @@ services:
redis:
container_name: hshop_redis
image: redis:alpine
ports:
- "6379:6379"
command: >
redis-server
--maxmemory 512mb
--maxmemory-policy volatile-lru
networks:
- default
restart: always