.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
CHATGPT2API_AUTH_KEY
secret
认证密钥(必填)
STORAGE_BACKEND
存储后端类型(可选值: json, sqlite, postgres, git) 默认: json
brew install flyctl && fly launch --from https://github.com/remotepinee/chatgpt2api
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/remotepinee/chatgpt2api
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/remotepinee/chatgpt2api