Closed Imccccc closed 12 months ago
I am not sure it is a good idea that api and worker share the same path.
It's implemented this way according to the api and worker section in official docker-compose.yaml
. We haven't gone through code detail in dify
so you may wish to submit issues in official repo to opt out possible path collision in the application in case path are shared.
As for the problem stated in the title (EKS failed because EBS does not support ReadWriteMany mode), could you elaborate and clarify the steps to replicate your issue. From our understanding there are multiple components that need PVC
deployed. If it's related to redis
, postgresql
, these dependencies inherit charts published by bitnami. You may opt in external redis
and postgresql
to solve that. As for the storage for api
and worker
, you may use external S3 instead of PVC
, or switch to any PVC
that supports ReadWriteMany
. If you could confirm modes other than ReadWriterMany
that are practical in this case, please let us know.
I am not sure it is a good idea that api and worker share the same path.