@@ -75,6 +75,7 @@ x-shared-env: &shared-api-worker-env
7575 REDIS_SENTINEL_SOCKET_TIMEOUT : ${REDIS_SENTINEL_SOCKET_TIMEOUT:-0.1}
7676 REDIS_USE_CLUSTERS : ${REDIS_USE_CLUSTERS:-false}
7777 REDIS_USE_OBKV : ${REDIS_USE_OBKV:-false}
78+ REDIS_SERIALIZATION_PROTOCOL : ${REDIS_SERIALIZATION_PROTOCOL:-2}
7879 REDIS_CLUSTERS : ${REDIS_CLUSTERS:-}
7980 REDIS_CLUSTERS_PASSWORD : ${REDIS_CLUSTERS_PASSWORD:-}
8081 CELERY_BROKER_URL : ${CELERY_BROKER_URL:-redis://:difyai123456@redis:6379/1}
@@ -495,7 +496,7 @@ x-shared-env: &shared-api-worker-env
495496services :
496497 # API service
497498 api :
498- image : quay.io/oceanbase-devhub/dify-api:1.4.0
499+ image : quay.io/oceanbase-devhub/dify-api:deploy-dev
499500 restart : always
500501 environment :
501502 # Use the shared environment variables.
@@ -514,6 +515,8 @@ services:
514515 condition : service_healthy
515516 redis :
516517 condition : service_started
518+ obproxy :
519+ condition : service_started
517520 volumes :
518521 # Mount the storage directory to the container, for storing user files.
519522 - ./volumes/app/storage:/app/api/storage
@@ -524,7 +527,7 @@ services:
524527 # worker service
525528 # The Celery worker for processing the queue.
526529 worker :
527- image : quay.io/oceanbase-devhub/dify-api:1.4.0
530+ image : quay.io/oceanbase-devhub/dify-api:deploy-dev
528531 restart : always
529532 environment :
530533 # Use the shared environment variables.
@@ -541,6 +544,8 @@ services:
541544 condition : service_healthy
542545 redis :
543546 condition : service_started
547+ obproxy :
548+ condition : service_started
544549 volumes :
545550 # Mount the storage directory to the container, for storing user files.
546551 - ./volumes/app/storage:/app/api/storage
@@ -637,7 +642,7 @@ services:
637642
638643 # plugin daemon
639644 plugin_daemon :
640- image : langgenius/ dify-plugin-daemon:0.0.10 -local
645+ image : quay.io/oceanbase-devhub/ dify-plugin-daemon:obkv-redis-0.1 -local
641646 restart : always
642647 environment :
643648 # Use the shared environment variables.
@@ -682,6 +687,8 @@ services:
682687 depends_on :
683688 oceanbase :
684689 condition : service_healthy
690+ obproxy :
691+ condition : service_started
685692
686693 # ssrf_proxy server
687694 # for more information, please refer to
@@ -920,7 +927,7 @@ services:
920927
921928 # OceanBase vector database
922929 oceanbase :
923- image : oceanbase/oceanbase-ce:4.3.5.1-101000042025031818
930+ image : oceanbase/oceanbase-ce:4.3.5.2-102000112025051418
924931 container_name : oceanbase
925932 profiles :
926933 - oceanbase
@@ -945,45 +952,45 @@ services:
945952 start_period : 30s
946953 timeout : 10s
947954
948- obkv_redis :
949- image : oceanbase/oceanbase-ce:4.2.5.3-103000022025033117
950- container_name : oceanbase
951- profiles :
952- - oceanbase
953- restart : always
954- environment :
955- OB_MEMORY_LIMIT : ${OCEANBASE_MEMORY_LIMIT:-6G}
956- OB_SYS_PASSWORD : ${OCEANBASE_VECTOR_PASSWORD:-difyai123456}
957- OB_TENANT_PASSWORD : ${OCEANBASE_VECTOR_PASSWORD:-difyai123456}
958- OB_CLUSTER_NAME : ${OCEANBASE_CLUSTER_NAME:-difyai}
959- MODE : MINI
960- volumes :
961- - ./volumes/oceanbase/obkv_redis/healthcheck.sh:/root/healthcheck.sh
962- ports :
963- - " ${OCEANBASE_VECTOR_PORT:-2881 }:2881"
964- healthcheck :
965- test : [ "CMD", "/root/healthcheck.sh" ]
966- interval : 10s
967- retries : 30
968- start_period : 30s
969- timeout : 10s
955+ obkv_redis :
956+ image : oceanbase/oceanbase-ce:4.2.5.3-103000022025033117
957+ container_name : obkv_redis
958+ profiles :
959+ - oceanbase
960+ restart : always
961+ environment :
962+ OB_MEMORY_LIMIT : ${OCEANBASE_MEMORY_LIMIT:-6G}
963+ OB_SYS_PASSWORD : ${OCEANBASE_VECTOR_PASSWORD:-difyai123456}
964+ OB_TENANT_PASSWORD : ${OCEANBASE_VECTOR_PASSWORD:-difyai123456}
965+ OB_CLUSTER_NAME : ${OCEANBASE_CLUSTER_NAME:-difyai}
966+ MODE : MINI
967+ volumes :
968+ - ./volumes/oceanbase/obkv_redis/healthcheck.sh:/root/healthcheck.sh
969+ ports :
970+ - " ${OBKV_PORT:-2991 }:2881"
971+ healthcheck :
972+ test : [ "CMD", "/root/healthcheck.sh" ]
973+ interval : 10s
974+ retries : 30
975+ start_period : 30s
976+ timeout : 10s
970977
971- obproxy :
972- image : oceanbase/obproxy-ce:4.3.4.0-1
973- container_name : obproxy
974- profiles :
975- - oceanbase
976- environment :
977- APP_NAME : dify_obproxy
978- PROXYRO_PASSWORD : 123456
979- RS_LIST : ${OCEANBASE_IP}:${OCEANBASE_VECTOR_PORT:-2881 }
980- OB_CLUSTER : ${OCEANBASE_CLUSTER_NAME:-difyai}
981- ports :
982- - " ${OBPROXY_SQL_PORT:-2883}:2883"
983- - " ${OBPROXY_RPC_PORT:-2885}:2885"
984- depends_on :
985- obkv_redis :
986- condition : service_healthy
978+ obproxy :
979+ image : oceanbase/obproxy-ce:4.3.4.0-1
980+ container_name : obproxy
981+ profiles :
982+ - oceanbase
983+ environment :
984+ APP_NAME : dify_obproxy
985+ PROXYRO_PASSWORD : 123456
986+ RS_LIST : ${OCEANBASE_IP}:${OBKV_PORT:-2991 }
987+ OB_CLUSTER : ${OCEANBASE_CLUSTER_NAME:-difyai}
988+ ports :
989+ - " ${OBPROXY_SQL_PORT:-2883}:2883"
990+ - " ${OBPROXY_RPC_PORT:-2885}:2885"
991+ depends_on :
992+ obkv_redis :
993+ condition : service_healthy
987994
988995 # Oracle vector database
989996 oracle :
0 commit comments