8000 Proxy URL Configuration Option for OpenAI Key in AppWrite Docker Compose Deployment · Issue #9268 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Proxy URL Configuration Option for OpenAI Key in AppWrite Docker Compose Deployment #9268
@lukefan

Description

@lukefan

👟 Reproduction steps

Description
During the deployment of AppWrite using docker-compose.yaml, I've run into an issue regarding the configuration for using OpenAI services.
Problem Details
The docker-compose.yaml file or the associated configuration setup provides an option to configure the OpenAI key. However, there is no provision to set the proxy URL. I rely on an OpenAI proxy to access OpenAI services due to various network or access - related reasons. Without the ability to specify the proxy URL, AppWrite fails to utilize the OpenAI services properly through the proxy.
When I try to use AppWrite features that are supposed to interact with OpenAI (such as any AI - related functions that leverage OpenAI models), the requests either time out or fail to connect because AppWrite is attempting to reach the standard OpenAI endpoints directly instead of going through the configured proxy.
Steps to Reproduce
Prepare a docker-compose.yaml file for AppWrite deployment.
Fill in the OpenAI key in the relevant configuration option.
Try to use AppWrite features that interact with OpenAI while being behind an OpenAI proxy.
Notice that the operations related to OpenAI do not work as expected, and error messages related to connection issues or time - outs may appear in the logs.

Impact
The absence of the proxy URL configuration option severely limits the usability of AppWrite for users who need to access OpenAI services through a proxy. It restricts the flexibility of the deployment and prevents some users from fully leveraging AppWrite's AI - integrated features, which can be a significant drawback for those in regions with network restrictions or specific access requirements.
I kindly request the development team to add the proxy URL configuration option for OpenAI requests to address this issue. Thank you.

👍 Expected behavior

Expected Behavior
There should be an additional configuration option in the docker-compose.yaml or the associated configuration files to set the proxy URL for OpenAI requests. This would allow users like me who rely on OpenAI proxies to properly configure AppWrite to route all OpenAI - related requests through the specified proxy. With the proxy URL configured, AppWrite should be able to establish a successful connection to OpenAI services via the proxy and perform the intended AI - related operations.

👎 Actual Behavior

Only the configuration item of the OpenAI key

🎲 Appwrite version

Version 1.6.x

💻 Operating system

MacOS

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    product / self-hostedIssues only found when self-hosting Appwrite

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0