From c99c62cf001aeba7edb29af7c28c870b10bd7702 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Mon, 21 Sep 2026 20:50:48 +0200 Subject: [PATCH] chore: clean up compose file --- docker-compose.yaml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index bce7c40..2974d01 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,17 +1,17 @@ services: cache: - image: valkey/valkey:7-alpine + image: valkey/valkey:9-alpine # This is required to stay in RAM only. command: valkey-server --save "" --appendonly no # Set a size limit. See link below on how to customise. - # https://valkey.io/docs/latest/operate/rs/databases/memory-performance/eviction-policy/ - # --maxmemory 1gb --maxmemory-policy allkeys-lrulpine + # https://valkey.io/topics/lru-cache/ + # --maxmemory 1gb --maxmemory-policy allkeys-lru # This prevents the creation of an anonymous volume. tmpfs: - /data app: - image: cupcakearmy/cryptgeon:v3 + image: cupcakearmy/cryptgeon:3 depends_on: - cache environment: @@ -19,11 +19,9 @@ services: SIZE_LIMIT: 4 MiB ports: - 80:8000 - - # Optional health checks - # healthcheck: - # test: ["CMD", "curl", "--fail", "http://127.0.0.1:8000/healthz"] - # interval: 1m - # timeout: 3s - # retries: 2 - # start_period: 5s + healthcheck: + test: ["CMD", "curl", "--fail", "http://127.0.0.1:8000/healthz"] + interval: 1m + timeout: 3s + retries: 2 + start_period: 5s