langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
51.76k stars 7.5k forks source link

[Question] Outdated Redis Alpine & Weaviate & Postgres #10137

Closed asrguru20 closed 2 weeks ago

asrguru20 commented 2 weeks ago

Self Checks

Dify version

0.10.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

If you look the docker-compose.yaml The Dify AI for a long time using old none upgraded versions of following Dependencies:

The postgres database.

db: image: postgres:15-alpine ===> the current version is 16-alpine

The redis cache.

redis: image: redis:6-alpine ==> The current version is 7.4-aline

The Weaviate vector store.

weaviate: image: semitechnologies/weaviate:1.19.0 ==> The current version is 1.26.8

✔️ Expected Behavior

To use most current versions of Redis, Postgres, Weaviate, Qdrant

❌ Actual Behavior

For a long time the are not upgraded

Can we Manually Upgrade them , Or should I say is the latest versions compatible with Dify AY?

dosubot[bot] commented 2 weeks ago

I found a similar discussion regarding the use of outdated versions of Weaviate in Dify, which is still open and unsolved. You can view it here [1].

Regarding your question about manually upgrading Redis, Postgres, and Weaviate to their latest versions, the Dify documentation specifies the versions currently used: Postgres 15-alpine, Redis 6-alpine, and Weaviate 1.19.0 [2]. Upgrading these components might affect specific configurations and dependencies in the Dify codebase. For instance, environment variables and data directories might need to be reviewed for compatibility with newer versions [2][3].

There are no specific migration guides or notes in the Dify documentation for upgrading these dependencies, so careful testing is recommended if you decide to proceed with the upgrade.

To continue talking to Dosu, mention @dosu.

crazywoola commented 2 weeks ago