From 38a2776f85d4df5a4b764700f80e6ba869a4e450 Mon Sep 17 00:00:00 2001 From: kenwoodjw Date: Thu, 17 Jul 2025 18:11:43 +0800 Subject: [PATCH] fix docker config Signed-off-by: kenwoodjw --- docker/.env.example | 1 + docker/docker-compose.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/.env.example b/docker/.env.example index 1842239b53..a05141569b 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -289,6 +289,7 @@ REDIS_CLUSTERS_PASSWORD= # If use Redis Sentinel, format as follows: `sentinel://:@:/` # Example: sentinel://localhost:26379/1;sentinel://localhost:26380/1;sentinel://localhost:26381/1 CELERY_BROKER_URL=redis://:difyai123456@redis:6379/1 +CELERY_BACKEND=redis BROKER_USE_SSL=false # If you are using Redis Sentinel for high availability, configure the following settings. diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 723780d153..5962adb079 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -79,6 +79,7 @@ x-shared-env: &shared-api-worker-env REDIS_CLUSTERS: ${REDIS_CLUSTERS:-} REDIS_CLUSTERS_PASSWORD: ${REDIS_CLUSTERS_PASSWORD:-} CELERY_BROKER_URL: ${CELERY_BROKER_URL:-redis://:difyai123456@redis:6379/1} + CELERY_BACKEND: ${CELERY_BACKEND:-redis} BROKER_USE_SSL: ${BROKER_USE_SSL:-false} CELERY_USE_SENTINEL: ${CELERY_USE_SENTINEL:-false} CELERY_SENTINEL_MASTER_NAME: ${CELERY_SENTINEL_MASTER_NAME:-}