(v2 series)https://github.com/OpenBMB/ChatDev
248
Use it with backend
Upstream Repository: https://github.com/OpenBMB/ChatDev
ChatDev 2.0 has evolved from a single-use CLI container into a decoupled, persistent Web service with separated frontend and backend components. This repository provides pre-built production images. You can directly pull and run them without configuring a local development environment.
docker-compose.yml ExamplePlease create a docker-compose.yml file and paste the following content into it. Remember to change the BASE_URL as you wish and replace the API_KEY with your actual key:
services:
backend:
image: sheepgreen/chatdev-backend # or ghcr.io/slippersheepig/chatdev-backend
container_name: chatdev_backend
environment:
- BASE_URL=https://api.openai.com/v1
- API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
volumes:
- ./WareHouse:/app/WareHouse
restart: unless-stopped
frontend:
image: sheepgreen/chatdev-frontend # or ghcr.io/slippersheepig/chatdev-frontend
container_name: chatdev_frontend
environment:
- BACKEND_URL=http://backend:6400
ports:
- "8080:80"
depends_on:
- backend
restart: unless-stopped
docker compose up -d command to start both the frontend and backend containers in the background.WareHouse directory.Content type
Image
Digest
sha256:a95fdcc01…
Size
89.1 MB
Last updated
16 days ago
docker pull sheepgreen/chatdev-frontend