From 9e47aa4e36b4184236d7853feaaf6e3146ee89c3 Mon Sep 17 00:00:00 2001 From: Angelique Date: Tue, 15 Apr 2025 15:04:53 +0200 Subject: [PATCH 1/2] Add all missing redis paramaters(#6280) --- docs/deployment/configuration.md | 35 +++++++++++++++++++------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/docs/deployment/configuration.md b/docs/deployment/configuration.md index 61c3aa70..3b16da18 100644 --- a/docs/deployment/configuration.md +++ b/docs/deployment/configuration.md @@ -165,20 +165,27 @@ Here are the configuration keys, for both containers (environment variables) and #### Redis -| Parameter | Environment variable | Default value | Description | -|:---------------------------|:----------------------------|:--------------|:--------------------------------------------------------------------------------------| -| redis:mode | REDIS__MODE | single | Connect to redis in "single", "sentinel or "cluster" mode | -| redis:namespace | REDIS__NAMESPACE | | Namespace (to use as prefix) | -| redis:hostname | REDIS__HOSTNAME | localhost | Hostname of the Redis Server | -| redis:hostnames | REDIS__HOSTNAMES | | Hostnames definition for Redis cluster or sentinel mode: a list of host:port objects. | -| redis:port | REDIS__PORT | 6379 | Port of the Redis Server | -| redis:sentinel_master_name | REDIS__SENTINEL_MASTER_NAME | | Name of your Redis Sentinel Master (mandatory in sentinel mode) | -| redis:use_ssl | REDIS__USE_SSL | `false` | Is the Redis Server has TLS enabled | -| redis:username | REDIS__USERNAME | | Username of the Redis Server | -| redis:password | REDIS__PASSWORD | | Password of the Redis Server | -| redis:database | REDIS__DATABASE | | Database of the Redis Server (only work in single mode) | -| redis:ca | REDIS__CA | [] | List of path(s) of the CA certificate(s) | -| redis:trimming | REDIS__TRIMMING | 2000000 | Number of elements to maintain in the stream. (0 = unlimited) | +| Parameter | Environment variable | Default value | Description | +|:---------------------------------|:----------------------------------|:--------------|:--------------------------------------------------------------------------------------| +| redis:mode | REDIS__MODE | single | Connect to redis in "single", "sentinel" or "cluster" mode | +| redis:namespace | REDIS__NAMESPACE | | Namespace (to use as prefix) | +| redis:hostname | REDIS__HOSTNAME | localhost | Hostname of the Redis Server | +| redis:hostnames | REDIS__HOSTNAMES | | Hostnames definition for Redis cluster or sentinel mode: a list of host:port objects. | +| redis:port | REDIS__PORT | 6379 | Port of the Redis Server | +| redis:use_ssl | REDIS__USE_SSL | `false` | Is the Redis Server has TLS enabled | +| redis:username | REDIS__USERNAME | | Username of the Redis Server | +| redis:password | REDIS__PASSWORD | | Password of the Redis Server | +| redis:database | REDIS__DATABASE | | Database of the Redis Server (only work in single mode) | +| redis:ca | REDIS__CA | [] | List of path(s) of the CA certificate(s) | +| redis:trimming | REDIS__TRIMMING | 2000000 | Number of elements to maintain in the stream. (0 = unlimited) | +| redis:sentinel_failover_detector | REDIS__SENTINEL_FAILOVER_DETECTOR | | TODO | +| redis:sentinel_master_name | REDIS__SENTINEL_MASTER_NAME | | Name of your Redis Sentinel Master (mandatory in sentinel mode) | +| redis:sentinel_password | REDIS__SENTINEL_PASSWORD | | TODO | +| redis:sentinel_preferred_slaves | REDIS__SENTINEL_PREFERRED_SLAVES | | TODO | +| redis:sentinel_role | REDIS__SENTINEL_ROLE | | TODO | +| redis:sentinel_tls | REDIS__SENTINEL_TLS | | TODO | +| redis:sentinel_update_sentinels | REDIS__SENTINEL_UPDATE_SENTINELS | | TODO | + #### RabbitMQ From 95317c1aba3305b0cb20b54223247660aa667cc9 Mon Sep 17 00:00:00 2001 From: Angelique Date: Tue, 15 Apr 2025 15:21:46 +0200 Subject: [PATCH 2/2] Some non sentinel parameter missing too --- docs/deployment/configuration.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/deployment/configuration.md b/docs/deployment/configuration.md index 3b16da18..b6252daf 100644 --- a/docs/deployment/configuration.md +++ b/docs/deployment/configuration.md @@ -178,6 +178,11 @@ Here are the configuration keys, for both containers (environment variables) and | redis:database | REDIS__DATABASE | | Database of the Redis Server (only work in single mode) | | redis:ca | REDIS__CA | [] | List of path(s) of the CA certificate(s) | | redis:trimming | REDIS__TRIMMING | 2000000 | Number of elements to maintain in the stream. (0 = unlimited) | +| redis:activity_trimming | REDIS__ACTIVITY_TRIMMING | | TODO | +| redis:notification_trimming | REDIS__NOTIFICATION_TRIMMING | | TODO | +| redis:host_ip_family | REDIS__HOST_IP_FAMILY | | TODO | +| redis:nat_map | REDIS__NET_MAP | | TODO | +| redis:scale_reads | REDIS__SCALE_READS | | TODO | | redis:sentinel_failover_detector | REDIS__SENTINEL_FAILOVER_DETECTOR | | TODO | | redis:sentinel_master_name | REDIS__SENTINEL_MASTER_NAME | | Name of your Redis Sentinel Master (mandatory in sentinel mode) | | redis:sentinel_password | REDIS__SENTINEL_PASSWORD | | TODO |