GitDeployHub

521xueweihan/ai-workshop-2024

github.com/521xueweihan/ai-workshop-2024 ↗
Python
16 environment variables found in .env.example

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

  • API_KEY secret
  • LLM_MODEL
  • LLM_BASE_URL
  • HF_ENDPOINT
  • BGE_MODEL_PATH
  • OLLAMA_URL
  • OLLAMA_TOKEN secret
  • OPENAI_EMBEDDING_API_KEY secret OPENAI_EMBEDDING_API_KEY 一项请填写和 API_KEY 一样的值
  • OPENAI_EMBEDDING_BASE_URL secret
  • OPENAI_EMBEDDING_MODEL secret
  • UI_LANG
  • DB_HOST 如果你使用的是 OB Cloud 的实例,请根据实例的连接信息更新下面的变量
  • DB_PORT
  • DB_USER
  • DB_NAME
  • DB_PASSWORD secret
Best match Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/521xueweihan/ai-workshop-2024
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/521xueweihan/ai-workshop-2024
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/521xueweihan/ai-workshop-2024
Or deploy to a different host
← Try another repo