We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9842110 commit 69a5df5Copy full SHA for 69a5df5
compose.cache.yml
@@ -4,10 +4,10 @@ services:
4
restart: always
5
ports:
6
- "6379:6379"
7
- command: redis-server /usr/local/etc/redis/redis.conf --requirepass ${REDIS_PASSWORD}
+ command: redis-server /usr/local/etc/redis/redis.conf --requirepass ${REDIS_PASSWORD} --maxmemory ${REDIS_MAX_MEMORY:-256mb}
8
volumes:
9
- redis-database:/data
10
- - ./conf/redis/redis.conf:/usr/local/etc/redis/redis.conf
+ #- ./conf/redis/redis.conf:/usr/local/etc/redis/redis.conf
11
env_file:
12
- ".env.cache"
13
environment:
0 commit comments