opencatd-open is an open-source, team-shared service for ChatGPT API that can be safely shared with others for API usage.
OpenCat for Team的开源实现
基本实现了opencatd的全部功能
(openai附属能力:whisper,tts,dall-e(text to image)...)
任务 | 完成情况 |
---|---|
Azure OpenAI | ✅ |
Claude | ✅ |
Gemini | ✅ |
... | ... |
docker run -d --name opencatd -p 80:80 -v /etc/opencatd:/app/db mirrors2/opencatd-open
version: '3.7'
services:
opencatd:
image: mirrors2/opencatd-open
container_name: opencatd-open
restart: unless-stopped
ports:
- 80:80
volumes:
- /etc/opencatd:/app/db
or
wget https://github.com/mirrors2/opencatd-open/raw/main/docker/docker-compose.yml
获取 root 的 token
docker exec opencatd-open opencatd root_token
重置 root 的 token
docker exec opencatd-open opencatd reset_root
导出 user info -> user.json (docker file path: /app/db/user.json)
docker exec opencatd-open opencatd save
导入 user.json -> db
docker exec opencatd-open opencatd load
关于证书?
- docker部署会白白占用掉VPS的80,443很不河里,建议用Nginx/Caddy/Traefik等反代并自动管理HTTPS证书.
没有服务器?
修改openai的endpoint地址?使用任意上游地址(套娃代理)
- 设置环境变量 openai_endpoint
使用Nginx + Docker部署
pandora for team