Update docker-compose.yml

This commit is contained in:
Alexander Veselov 2025-02-20 17:44:29 -05:00
parent 6f09a471a4
commit 6898b419aa

View File

@ -0,0 +1,16 @@
services:
redis:
image: redis:7-alpine
#Set a size limit. See link below on how to customise.
#https://redis.io/docs/manual/eviction/
command: redis-server --maxmemory 1gb --maxmemory-policy allkeys-lru
app:
image: cupcakearmy/cryptgeon:latest
depends_on:
- redis
environment:
# Size limit for a single note.
SIZE_LIMIT: 4 MiB
REDIS: redis://redis:6379
ports:
- 5002:8000