backend/.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
CHATAPI_ADMIN_USERNAME
Admin user credentials (auto-created on startup)
CHATAPI_ADMIN_PASSWORD
secret
CHATAPI_DB_PATH
CHATAPI_DATA_DIR
CHATAPI_CORS_ORIGINS
CHATAPI_HOST
CHATAPI_PORT
brew install flyctl && fly launch --from https://github.com/zyf2007/chatapi
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/zyf2007/chatapi
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/zyf2007/chatapi