GitDeployHub

lingliren731108-arch/leonai

github.com/lingliren731108-arch/leonai ↗
Python
12 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • OPENAI_API_KEY secret OpenAI or OpenAI-Compatible API Configuration (For DALL-E 3 and alternative models like GLM, DeepSeek, etc.)
  • OPENAI_BASE_URL secret Optional: Set base URL for other providers (e.g. Zhipu GLM: https://open.bigmodel.cn/api/paas/v4/ )
  • OPENAI_MODEL secret Optional: Set model name (e.g. gpt-4o, glm-4-plus, deepseek-chat)
  • SERVER_PORT Server Configuration
  • SERVER_HOST
  • FRONTEND_PORT Frontend Configuration
  • WORKSPACE_DIR Workspace settings (typically within the project workspace folder)
  • MYSQL_HOST MySQL Configuration
  • MYSQL_PORT
  • MYSQL_USER
  • MYSQL_PASSWORD secret
  • MYSQL_DB
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/lingliren731108-arch/leonai
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/lingliren731108-arch/leonai
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/lingliren731108-arch/leonai
Or deploy to a different host
← Try another repo