From 6898b419aa5c5f83c53a389e6eedcdfd6109cf76 Mon Sep 17 00:00:00 2001 From: Atomizeee Date: Thu, 20 Feb 2025 17:44:29 -0500 Subject: [PATCH] Update docker-compose.yml --- docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e69de29..b0c543e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file