Closed mujiannan closed 1 year ago
Thank you for your effort!
支持持久化目录: /app/data
支持通过环境变量自定义OPENAI地址,环境变量名称为 OPENAI_API_BASE
模板:
version: "3.7"
services:
synology-chat-gpt:
image: docker-registry.mujiannan.com:5001/mujiannan/synology-chat-gpt:latest
volumes:
- <your-local-data-directory>:/app/data
environment:
- OPENAI_API_BASE=https://api.openai.com/v1
deploy:
resources:
limits:
cpus: 500m
memory: 200m
ports:
- "8000:8000"
我的本地示例:
可以自行build镜像:
docker build . -t my/synologychatgpt
docker-registry.mujiannan.com:5001/mujiannan/synology-chat-gpt:latest
newuser
.totalTokens
from openai while nottotal_tokens
(maybe it cause an error)quote
.