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.69k stars 7.48k forks source link

Data loss caused by redeployment of Docker #9840

Closed Erincrying closed 3 weeks ago

Erincrying commented 3 weeks ago

Self Checks

Dify version

0.10.0

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

1.Deploy two sets of services according to the official documentation, and then pull the code for v0.10.0

  1. Restart Docker and execute the following command docker-compose -f mysql-docker-compose.yaml up -d docker-compose -f mysql-docker-compose.yaml down 3.flask db upgrade 4.Reinstall front-end and back-end dependency packages
  2. When starting the front-end and back-end services, change the port number of the second system
  3. Some data has been lost.

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

crazywoola commented 3 weeks ago

We do not have mysql-docker-compose.yaml. And we have no idea what's inside, if you are using the source code, please try to figure it out yourself. We do not support custom database yet. If you would like to have technical support on this, please reach out to business@dify.ai.

Erincrying commented 3 weeks ago

We do not have mysql-docker-compose.yaml. And we have no idea what's inside, if you are using the source code, please try to figure it out yourself. We do not support custom database yet. If you would like to have technical support on this, please reach out to business@dify.ai.

docker/docker-compose.middleware.yaml This is the file, I only changed the occupied port number, nothing else was changed