diff --git a/README.md b/README.md index b876345..1def1a0 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,14 @@ wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/com docker compose up -d ``` +Compose with [Next-Chat](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web): + +```bash +mkdir freegpt35 && cd freegpt35 +wget -O compose.yaml https://raw.githubusercontent.com/missuo/FreeGPT35/main/compose_with_next_chat.yaml +docker compose up -d +``` + ## Request Example **You don't have to pass Authorization, of course, you can also pass any string randomly.** diff --git a/compose_with_next_chat.yaml b/compose_with_next_chat.yaml new file mode 100644 index 0000000..979addc --- /dev/null +++ b/compose_with_next_chat.yaml @@ -0,0 +1,18 @@ +services: + chatgpt-next-web: + image: yidadaa/chatgpt-next-web + ports: + - "3000:3000" + environment: + OPENAI_API_KEY: "gptyyds" + CODE: "HelloGPT" # 如果你想要设置页面的访问密码,请修改这里 + BASE_URL: "http://freegpt35:3040" + CUSTOM_MODELS: "-all,+gpt-3.5-turbo" + depends_on: + - freegpt35 + + freegpt35: + image: missuo/freegpt35:latest + restart: always + ports: + - "3040:3040"