update redis run configs
This commit is contained in:
+5
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user