Merge pull request #3404 from appwrite/feat-redis-conf

added redis conf
This commit is contained in:
Torsten Dittmann 2022-06-22 12:45:38 +02:00 committed by GitHub
commit dc1daca739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -591,6 +591,11 @@ services:
container_name: appwrite-redis
<<: *x-logging
restart: unless-stopped
command: >
redis-server
--maxmemory 512mb
--maxmemory-policy allkeys-lru
--maxmemory-samples 5
networks:
- appwrite
volumes:

View file

@ -643,6 +643,11 @@ services:
image: redis:6.2-alpine
<<: *x-logging
container_name: appwrite-redis
command: >
redis-server
--maxmemory 512mb
--maxmemory-policy allkeys-lru
--maxmemory-samples 5
ports:
- "6379:6379"
networks: