@@ -183,6 +183,8 @@ pnpm dev
183183- ` TIMEOUT_MS ` timeout, in milliseconds, optional
184184- ` SOCKS_PROXY_HOST ` optional, effective with SOCKS_PROXY_PORT
185185- ` SOCKS_PROXY_PORT ` optional, effective with SOCKS_PROXY_HOST
186+ - ` SOCKS_PROXY_USERNAME ` optional, effective with SOCKS_PROXY_HOST and SOCKS_PROXY_PORT
187+ - ` SOCKS_PROXY_PASSWORD ` optional, effective with SOCKS_PROXY_HOST and SOCKS_PROXY_PORT
186188- ` HTTPS_PROXY ` optional, support http,https, socks5
187189- ` ALL_PROXY ` optional, support http,https, socks5
188190
@@ -237,6 +239,10 @@ services:
237239 SOCKS_PROXY_HOST : xxxx
238240 # socks proxy port, optional, effective with SOCKS_PROXY_HOST
239241 SOCKS_PROXY_PORT : xxxx
242+ # socks proxy, optional, effective with SOCKS_PROXY_HOST and SOCKS_PROXY_PORT
243+ SOCKS_PROXY_USERNAME : xxxx
244+ # socks proxy port, optional, effective with SOCKS_PROXY_HOST and SOCKS_PROXY_PORT
245+ SOCKS_PROXY_PASSWORD : xxxx
240246 # HTTPS Proxy,optional, support http, https, socks5
241247 HTTPS_PROXY : http://xxx:7890
242248 # Title for site
@@ -291,20 +297,22 @@ The `OPENAI_API_MODEL` is optional and only used when setting the `OPENAI_API_KE
291297
292298# ### Railway Environment Variables
293299
294- | Environment Variable | Required | Description |
295- | -------------------- | -------- | ------------------------------------------------------------------------------------------------- |
296- | `PORT` | Required | Default : ` 3002` |
297- | `AUTH_SECRET_KEY` | Optional | access password |
298- | `TIMEOUT_MS` | Optional | Timeout in milliseconds |
299- | `OPENAI_API_KEY` | Optional | Required for `OpenAI API`. `apiKey` can be obtained from [here](https://platform.openai.com/overview). |
300- | `OPENAI_ACCESS_TOKEN`| Optional | Required for `Web API`. `accessToken` can be obtained from [here](https://chat.openai.com/api/auth/session).|
301- | `OPENAI_API_BASE_URL` | Optional, only for `OpenAI API` | API endpoint. |
302- | `OPENAI_API_MODEL` | Optional, only for `OpenAI API` | API model. |
303- | `API_REVERSE_PROXY` | Optional, only for `Web API` | Reverse proxy address for `Web API`. [Details](https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy) |
304- | `SOCKS_PROXY_HOST` | Optional, effective with `SOCKS_PROXY_PORT` | Socks proxy. |
305- | `SOCKS_PROXY_PORT` | Optional, effective with `SOCKS_PROXY_HOST` | Socks proxy port. |
306- | `HTTPS_PROXY` | Optional | HTTPS Proxy. |
307- | `ALL_PROXY` | Optional | ALL Proxy. |
300+ | Environment Variable | Required | Description |
301+ |------------------------|-------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|
302+ | `PORT` | Required | Default : ` 3002` |
303+ | `AUTH_SECRET_KEY` | Optional | access password |
304+ | `TIMEOUT_MS` | Optional | Timeout in milliseconds |
305+ | `OPENAI_API_KEY` | Optional | Required for `OpenAI API`. `apiKey` can be obtained from [here](https://platform.openai.com/overview). |
306+ | `OPENAI_ACCESS_TOKEN` | Optional | Required for `Web API`. `accessToken` can be obtained from [here](https://chat.openai.com/api/auth/session). |
307+ | `OPENAI_API_BASE_URL` | Optional, only for `OpenAI API` | API endpoint. |
308+ | `OPENAI_API_MODEL` | Optional, only for `OpenAI API` | API model. |
309+ | `API_REVERSE_PROXY` | Optional, only for `Web API` | Reverse proxy address for `Web API`. [Details](https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy) |
310+ | `SOCKS_PROXY_HOST` | Optional, effective with `SOCKS_PROXY_PORT` | Socks proxy. |
311+ | `SOCKS_PROXY_PORT` | Optional, effective with `SOCKS_PROXY_HOST` | Socks proxy port. |
312+ | `SOCKS_PROXY_USERNAME` | Optional, effective with `SOCKS_PROXY_HOST` & `SOCKS_PROXY_PORT` | Socks proxy username. |
313+ | `SOCKS_PROXY_PASSWORD` | Optional, effective with `SOCKS_PROXY_HOST` & `SOCKS_PROXY_PORT` | Socks proxy password. |
314+ | `HTTPS_PROXY` | Optional | HTTPS Proxy. |
315+ | `ALL_PROXY` | Optional | ALL Proxy. |
308316
309317> Note: Changing environment variables in Railway will cause re-deployment.
310318
0 commit comments