acheong08 / ChatGPT-Proxy
- вторник, 14 февраля 2023 г. в 00:13:43
Forward requests and inject cloudflare cookies
Forward requests and inject CloudFlare cookies
curl https://raw.githubusercontent.com/acheong08/ChatGPT-Proxy/main/scripts/run-with-docker.sh | sh
pip install pipenv -U
.pipenv update -d
in this directory, to automatically install the requirements of the proxy.pipenv run proxy
in the base directory, and enjoy it! Uvicorn will provide a high-performance HTTP server for the API service.These options can be configured by setting environment variables using -e KEY="VALUE"
in the docker run
command.
Env | Default | Example | Description |
---|---|---|---|
GPT_PROXY |
- | socks5://127.0.0.1:1080 |
The proxy of your server. |
GPT_HOST |
0.0.0.0 |
127.0.0.1 |
The hostname of your server. |
GPT_PORT |
5000 |
8080 |
The port of your server. |