Skip to content

Commit

Permalink
Update e2e test for chatgpt-lite & chatgpt-minimal (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
blrchen committed Jun 10, 2023
1 parent dfdabd6 commit b29cc73
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ The following apps have been tested and confirmed to work with the azure-openai-
| [chatbot-ui](https://github.com/mckaywrigley/chatbot-ui) | [docker-compose.yml](./e2e/chatbot-ui/docker-compose.yml) |
| [chatgpt-next-web](https://github.com/Yidadaa/ChatGPT-Next-Web) | [docker-compose.yml](./e2e/chatgpt-next-web/docker-compose.yml) |
| [chatgpt-web](https://github.com/Chanzhaoyu/chatgpt-web) | [docker-compose.yml](./e2e/chatgpt-web/docker-compose.yml) |
| [gptlite](https://github.com/blrchen/gptlite) | [docker-compose.yml](./e2e/gptlite/docker-compose.yml) |
| [chatgpt-lite](https://github.com/blrchen/chatgpt-lite) | [docker-compose.yml](./e2e/chatgpt-lite/docker-compose.yml) |
| [chatgpt-mininal](https://github.com/blrchen/chatgpt-mininal) | [docker-compose.yml](./e2e/chatgpt-mininal/docker-compose.yml) |

To run a test locally, please follow these steps:

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ curl -X "POST" "http://localhost:3000/v1/chat/completions" \
| [chatbot-ui](https://github.com/mckaywrigley/chatbot-ui) | [docker-compose.yml](./e2e/chatbot-ui/docker-compose.yml) |
| [chatgpt-next-web](https://github.com/Yidadaa/ChatGPT-Next-Web) | [docker-compose.yml](./e2e/chatgpt-next-web/docker-compose.yml) |
| [chatgpt-web](https://github.com/Chanzhaoyu/chatgpt-web) | [docker-compose.yml](./e2e/chatgpt-web/docker-compose.yml) |
| [gptlite](https://github.com/blrchen/gptlite) | [docker-compose.yml](./e2e/gptlite/docker-compose.yml) |
| [chatgpt-lite](https://github.com/blrchen/chatgpt-lite) | [docker-compose.yml](./e2e/chatgpt-lite/docker-compose.yml) |
| [chatgpt-minimal](https://github.com/blrchen/chatgpt-minimal) | [docker-compose.yml](./e2e/chatgpt-minimal/docker-compose.yml) |

要在本地运行测试,请按照以下步骤操作:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: '3.8'

services:
gptlite:
container_name: gptlite
image: blrchen/gptlite:main
chatgpt-lite:
container_name: chatgpt-lite
image: blrchen/chatgpt-lite:main
ports:
- 3000:3000
environment:
Expand Down
28 changes: 28 additions & 0 deletions e2e/chatgpt-minimal/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: '3.8'

services:
chatgpt-minimal:
container_name: chatgpt-minimal
image: blrchen/chatgpt-minimal:main
ports:
- 3000:3000
environment:
OPENAI_API_KEY: ${OPENAI_API_KEY}
OPENAI_API_BASE_URL: http://azure-openai-proxy:3000
depends_on:
- azure-openai-proxy
networks:
- vnet
restart: unless-stopped

azure-openai-proxy:
container_name: azure-openai-proxy
build:
context: ../..
networks:
- vnet
restart: unless-stopped

networks:
vnet:
driver: bridge

0 comments on commit b29cc73

Please sign in to comment.