You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected output of the containers, layers, images to be pulled smoothly and exiting successfully.
❌ Actual Behavior
Instead, the interpolated environment variable, in particular, the COMPOSE_PROFILES is causing a problem due to a missing extra $ such that the correct version of the line should like this: COMPOSE_PROFILES=$${VECTOR_STORE:-weaviate}
The text was updated successfully, but these errors were encountered:
Hey @hanktrizz! 👋 I'm here to help you with bug fixing, answering questions, and becoming a contributor. If you need assistance, feel free to ask.
The issue you're encountering with the "Invalid interpolation format" error in Docker Compose is likely due to incorrect syntax for environment variable interpolation. In Docker Compose files, the correct syntax for environment variable interpolation is ${VARIABLE_NAME:-default_value}. This allows you to specify a default value if the environment variable is not set.
For the COMPOSE_PROFILES variable, you should use the following format:
COMPOSE_PROFILES: ${VECTOR_STORE:-weaviate}
This syntax ensures that if VECTOR_STORE is not set, weaviate will be used as the default value. Make sure your Docker Compose file uses this format to avoid interpolation errors [1].
Self Checks
Dify version
0.14.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Clone the latest source from
https://github.com/langgenius/dify.git
and follow the docker steps as outlined in the documentation page: https://docs.dify.ai/getting-started/install-self-hosted/docker-compose#starting-dify✔️ Expected Behavior
Expected output of the containers, layers, images to be pulled smoothly and exiting successfully.
❌ Actual Behavior
Instead, the interpolated environment variable, in particular, the
COMPOSE_PROFILES
is causing a problem due to a missing extra$
such that the correct version of the line should like this:COMPOSE_PROFILES=$${VECTOR_STORE:-weaviate}
The text was updated successfully, but these errors were encountered: