diff --git a/docker-compose.common.yml b/docker-compose.common.yml index 39092867f..af36abafb 100644 --- a/docker-compose.common.yml +++ b/docker-compose.common.yml @@ -23,6 +23,7 @@ services: - SECRET_MANAGER_DIRECTORY=/state - DATABASE_CONNECTION_STRING=sqlite:////state/db.sqlite3?check_same_thread=False - OPENAI_API_KEY=$OPENAI_API_KEY + - OPENAI_BASE_URL=$OPENAI_BASE_URL - PUSHER_APP_ID=1 - PUSHER_APP_KEY=keepappkey - PUSHER_APP_SECRET=keepappsecret diff --git a/docs/deployment/configuration.mdx b/docs/deployment/configuration.mdx index ddf404912..cc5b50aab 100644 --- a/docs/deployment/configuration.mdx +++ b/docs/deployment/configuration.mdx @@ -135,6 +135,7 @@ OpenAPI configuration is used for integrating with OpenAI services. These settin | Env var | Purpose | Required | Default Value | Valid options | |:-------------------:|:-------:|:----------:|:-------------:|:-------------:| | **OPENAI_API_KEY** | API key for OpenAI services | No | None | Valid OpenAI API key | +| **OPENAI_BASE_URL** | URL for OpenAI API. It's need for use yourself LOCAL LLM instead OpenAi LLM. | No | https://api.openai.com/v1 | Valid OpenAI API url | ### Posthog