github.com/codefresh-io/kcfi@v0.0.0-20230301195427-c1578715cc46/docs/external-dbs/redis.md (about)

     1  # Configure external Redis
     2  
     3  Codefresh recommends to use Bitnami Redis [chart](https://github.com/bitnami/charts/tree/master/bitnami/redis) as a Redis store.
     4  
     5  ## Limitations
     6  
     7  Codefresh does not support secure connection to Redis (TLS) and AUTH username extension.
     8  
     9  ## Configuration
    10  
    11  Codefresh requires two Redis database:
    12  
    13  - the main - `cf-redis`, to store sessions, cache, etc;
    14  - `cf-store`, to store triggers;
    15    
    16  Only the first one can be replaced by external Redis service,
    17  the `cf-store` DB is used as a local storage for triggers and should run along with the installation.
    18  
    19  >ToDo
    20  update __hermes/redis__ chart to be able to use an external Redis as `cf-store`.
    21  
    22  To configure Codefresh to use an external Redis service, add the following parameters to __config.yaml__:
    23  
    24  ```yaml
    25  redis:
    26    enabled: false
    27    redisPassword: <MY REDIS PASS>
    28  
    29  global:
    30    redisUrl: <MY REDIS HOST>
    31    runtimeRedisHost: <MY REDIS HOST>
    32    runtimeRedisPassword: <MY REDIS PASS>
    33    runtimeRedisDb: 2
    34    runtimeRedisPort: <MY REDIS PORT>
    35  ```
    36  
    37  Where `redis*` - are for the main Redis storage, and `runtimeRedis*` - for storage is used to store pipeline logs in case of `OfflineLogging` feature is turned on.
    38  It's usually the same host.