diff --git a/docs/RunningRedisLocally.md b/docs/RunningRedisLocally.md index ee1400dd..70f6878a 100644 --- a/docs/RunningRedisLocally.md +++ b/docs/RunningRedisLocally.md @@ -16,7 +16,7 @@ docker run -d --rm --name halibut-redis \ --tmpfs /data \ --tmpfs /tmp \ -v `pwd`/redis-conf:/etc/redis:ro \ - redis:8.0.3 \ + redis:8.10.1 \ /etc/redis/redis.conf --requirepass halibut-local-redis ``` @@ -33,7 +33,7 @@ This is how we recommend running Redis for the queue. Only the config file and t | `--tmpfs /data` | `/data` is Redis's working directory (`dir /data` in `redis.conf`). With `--read-only` it needs a writable directory, and tmpfs keeps it in memory so nothing is ever written to disk. That way Redis never stores any data (see above). | Yes if you use `--read-only`. | | `--tmpfs /tmp` | Gives Redis writable scratch space in memory, since the root filesystem is read-only. | Yes if you use `--read-only`. | | ``-v `pwd`/redis-conf:/etc/redis:ro`` | Mounts `redis-conf/redis.conf` read-only. This is where persistence is turned off. The user Redis runs as (see `--user`) must be able to read this file, otherwise Redis fails to start. | Yes. | -| `redis:8.0.3` | The Redis version the queue is tested against. | No, but recommended. | +| `redis:8.10.1` | The Redis version the queue is tested against. | No, but recommended. | | `/etc/redis/redis.conf` | Tells Redis to use the mounted config file. | Yes. | | `--requirepass halibut-local-redis` | Requires clients to authenticate. `halibut-local-redis` is the password the tests look for by default. | No, but recommended. | diff --git a/source/Halibut.Tests/Queue/Redis/Utils/RedisContainerBuilder.cs b/source/Halibut.Tests/Queue/Redis/Utils/RedisContainerBuilder.cs index ee7b883b..510a64df 100644 --- a/source/Halibut.Tests/Queue/Redis/Utils/RedisContainerBuilder.cs +++ b/source/Halibut.Tests/Queue/Redis/Utils/RedisContainerBuilder.cs @@ -20,13 +20,13 @@ public class RedisContainerBuilder { // Octopus Cloud runs octopusdeploy/dhi-redis (a Docker Hardened Image), which needs registry credentials to pull. // This is the public image of the same Redis version. - private string _image = "redis:8.0.3"; + private string _image = "redis:8.10.1"; private string? _customConfigPath; private int? _hostPort; private string? _password; /// - /// Sets the Redis Docker image to use. Defaults to "redis:8.0.3". + /// Sets the Redis Docker image to use. Defaults to "redis:8.10.1". /// /// The Redis Docker image tag /// The builder instance for method chaining