From 7e70c81d811ef9dda7ecfda2070f02ce3354e697 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sun, 31 May 2026 21:39:37 +0200 Subject: [PATCH] cleanup --- README.md | 10 +++++----- README_ES.md | 8 ++++---- README_zh-CN.md | 16 ++++++++-------- docker-compose.dev.yaml | 6 +++--- docker-compose.yaml | 4 ++-- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 263ddb3..2cc864b 100644 --- a/README.md +++ b/README.md @@ -105,12 +105,12 @@ version: '3.8' services: redis: - image: redis:7-alpine + image: valkey/valkey:7-alpine # This is required to stay in RAM only. - command: redis-server --save "" --appendonly no + command: valkey-server --save "" --appendonly no # Set a size limit. See link below on how to customise. - # https://redis.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 @@ -190,7 +190,7 @@ pnpm run dev Running `pnpm run dev` in the root folder will start the following things: -- redis docker container +- valkey docker container - rust backend - client - cli diff --git a/README_ES.md b/README_ES.md index 9b2dc54..81a1b0f 100644 --- a/README_ES.md +++ b/README_ES.md @@ -90,12 +90,12 @@ version: '3.8' services: redis: - image: redis:7-alpine + image: valkey/valkey:7-alpine # This is required to stay in RAM only. - command: redis-server --save "" --appendonly no + command: valkey-server --save "" --appendonly no # Set a size limit. See link below on how to customise. - # https://redis.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 diff --git a/README_zh-CN.md b/README_zh-CN.md index 7d88b3c..9383eac 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -73,12 +73,12 @@ version: '3.8' services: redis: - image: redis:7-alpine + image: valkey/valkey:7-alpine # This is required to stay in RAM only. - command: redis-server --save "" --appendonly no + command: valkey-server --save "" --appendonly no # Set a size limit. See link below on how to customise. - # https://redis.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 @@ -115,12 +115,12 @@ networks: services: redis: - image: redis:7-alpine + image: valkey/valkey:7-alpine # This is required to stay in RAM only. - command: redis-server --save "" --appendonly no + command: valkey-server --save "" --appendonly no # Set a size limit. See link below on how to customise. - # https://redis.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 diff --git a/docker-compose.dev.yaml b/docker-compose.dev.yaml index c651a8e..fc8e20d 100644 --- a/docker-compose.dev.yaml +++ b/docker-compose.dev.yaml @@ -7,8 +7,8 @@ services: # 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 @@ -25,7 +25,7 @@ services: - 3000:8000 healthcheck: - test: ['CMD', 'curl', '--fail', 'http://127.0.0.1:8000/api/live/'] + test: ["CMD", "curl", "--fail", "http://127.0.0.1:8000/api/live/"] interval: 1m timeout: 3s retries: 2 diff --git a/docker-compose.yaml b/docker-compose.yaml index 3a0b25f..34bd3bf 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,8 +4,8 @@ services: # 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