dosubot[bot] commented on issue #291: URL: https://github.com/apache/incubator-hugegraph-ai/issues/291#issuecomment-3116559668
<!-- Greeting --> Hi @shbone! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the incubator-hugegraph-ai team. <!-- Answer --> You're right—the error happens because the docker-compose file expects a .env file at hugegraph-llm/.env, but the current documentation only tells you to copy env.template to docker/.env, not hugegraph-llm/.env. If hugegraph-llm/.env doesn't exist as a file, Docker ends up mounting an empty directory, which causes the IsADirectoryError you saw. The correct fix is to copy the env.template to hugegraph-llm/.env before deploying: ```bash cp docker/env.template hugegraph-llm/.env ``` This aligns the setup with what docker-compose-network.yml expects and will prevent the error. Updating the README to include this step would make the deployment process much smoother for everyone. [Reference: docker-compose mounts and README mismatch](https://github.com/apache/incubator-hugegraph-ai/blob/52a666efabc879d704edc6aad3837358b2d486c1/docker/docker-compose-network.yml) <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/a2519de0-4c7d-4607-80d3-6068b3d9625d?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/a2519de0-4c7d-4607-80d3-6068b3d9625d?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/a2519de0-4c7d-4607-80d3-6068b3d9625d?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/a2519de0-4c7d-4607-80d3-6068b3d9625d?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a2519de0-4c7d-4607-80d3-6068b3d9625d?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/a2519de0-4c7d-4607-80d3-6068b3d9625d?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a2519de0-4c7d-4607-80d3-6068b3d9625d?feedback_type=other)</sup> [](https://app.dosu.dev/dc46e653-18e4-4843-bf2e-1fcf7467eb58/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-hugegraph-ai/issues/291) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
