Skip to main content

Display Helm Chart Values

helm show values dify/dify
Example of the external Redis configuration in the Helm chart values:
externalRedis:
  enabled: true
  useSSL: false
  host: "redis.example"
  port: 6379
  username: ""
  password: "#REPLACE_ME#"
  db: 0

  sentinel:
    enabled: false
    nodes: ""          # Comma-separated list of Redis Sentinel nodes (host:port)
    serviceName: ""    # Name of the Redis Sentinel service to monitor
    username: ""
    password: "#REPLACE_ME#"
    socketTimeout: 0.1 # Socket timeout in seconds for Redis Sentinel connections

  cluster:
    enabled: false
    nodes: "#REPLACE_ME#"  # Comma-separated list of Redis Cluster nodes (host:port)
    password: "#REPLACE_ME#"

Redis SSL Configuration

  • To enable Redis with SSL, set the useSSL field to true.
  • The port field should be set to 6379 for non-SSL connections and 6380 for SSL connections.

High Availability

  • Sentinel: set sentinel.enabled to true, then provide sentinel.nodes and sentinel.serviceName.
  • Cluster: set cluster.enabled to true, then provide cluster.nodes.