Pwd9000-ML / terraform-azurerm-openai-private-chatgpt

Terraform module to deploy a private ChatBot/ChatGPT-like solution (LibreChat) hosted on Azure OpenAI
https://registry.terraform.io/modules/Pwd9000-ML/openai-private-chatgpt/azurerm/latest
MIT License
22 stars 13 forks source link

Missing YAML Configuration File During Deployment #65

Open anhel05 opened 5 months ago

anhel05 commented 5 months ago

I am encountering an issue with the deployment of my Azure App Service using the provided Terraform script. During the deployment, the application fails to start, and the logs indicate that a required YAML configuration file (librechat.yaml) is missing.

Error Messages:

error: Config file YAML format is invalid: ENOENT: no such file or directory, open '/app/librechat.yaml'

Steps to Reproduce:

Use the provided Terraform script to deploy the Azure App Service. Attempt to access the deployed application. Observe the application logs for the above error messages. Expected Behavior: The deployment should include the librechat.yaml configuration file in the /app/ directory, allowing the application to start correctly.

Actual Behavior: The application fails to start due to the missing librechat.yaml file, resulting in a startup timeout.

Additional Context: I have verified that the librechat.yaml file is present in my application's repository. However, it appears that the Terraform script does not handle the inclusion of this file during deployment. I am unable to make significant modifications to the Terraform script as it is part of an open-source project.

Request: Could you please update the Terraform script to ensure that the librechat.yaml file is correctly included in the deployment package? Alternatively, could you provide guidance on how to modify the script to achieve this?

Thank you for your assistance.

Pwd9000-ML commented 2 months ago

Hi there, can you give more details on where this issue is happening in you deployment?