From 7b51c411871fbe693696d4d224b57412333166e7 Mon Sep 17 00:00:00 2001 From: Devonte <69095599+devnote-dev@users.noreply.github.com> Date: Sun, 18 Sep 2022 01:47:35 +0100 Subject: [PATCH 1/2] fix: remove password from startup option --- database/redis/redis-6/egg-redis-6.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/redis/redis-6/egg-redis-6.json b/database/redis/redis-6/egg-redis-6.json index ead0ed28..d7e5ba2b 100644 --- a/database/redis/redis-6/egg-redis-6.json +++ b/database/redis/redis-6/egg-redis-6.json @@ -13,7 +13,7 @@ "ghcr.io\/parkervcp\/yolks:redis_6": "ghcr.io\/parkervcp\/yolks:redis_6" }, "file_denylist": [], - "startup": "\/usr\/local\/bin\/redis-server \/home\/container\/redis.conf --save 60 1 --dir \/home\/container\/ --bind 0.0.0.0 --port {{SERVER_PORT}} --requirepass {{SERVER_PASSWORD}} --maxmemory {{SERVER_MEMORY}}mb --daemonize yes && redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}}; redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}} shutdown save", + "startup": "\/usr\/local\/bin\/redis-server \/home\/container\/redis.conf --save 60 1 --dir \/home\/container\/ --bind 0.0.0.0 --port {{SERVER_PORT}} --requirepass {{SERVER_PASSWORD}} --maxmemory {{SERVER_MEMORY}}mb --daemonize yes && redis-cli -p {{SERVER_PORT}}; redis-cli -p {{SERVER_PORT}} -a {{SERVER_PASSWORD}} shutdown save", "config": { "files": "{}", "startup": "{\r\n \"done\": \"Configuration loaded\"\r\n}", From 24158e96a27c91bd90977ba4061958c1e2cd28a2 Mon Sep 17 00:00:00 2001 From: Devonte <69095599+devnote-dev@users.noreply.github.com> Date: Sun, 18 Sep 2022 01:52:09 +0100 Subject: [PATCH 2/2] feat: add startup notice --- database/redis/redis-6/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/database/redis/redis-6/README.md b/database/redis/redis-6/README.md index 3531c1d1..d425ff64 100644 --- a/database/redis/redis-6/README.md +++ b/database/redis/redis-6/README.md @@ -4,6 +4,10 @@ Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. +## Server Startup + +You must first authenticate before trying to execute commands, to do this run `AUTH ` (without the `<>`). This should be the same as the password set in the `SERVER_PASSWORD` variable. + ## Minimum RAM warning It's recommended to have 4gb of RAM for redis