.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
OPENAI_API_KEY
secret
Required: OpenAI-compatible Chat Completions API key.
OPENAI_BASE_URL
secret
Optional: API endpoint and model. Recommended model: deepseek-v4-flash.
OPENAI_MODEL
secret
OPENAI_TIMEOUT_SECONDS
secret
Optional: per-request timeout for LLM calls, in seconds.
MING_SIM_DB
Optional: SQLite database path. The app creates this file automatically.
MING_SIM_SEED
Optional: random seed used for event sampling.
brew install flyctl && fly launch --from https://github.com/wangwei-ying3/ming-salvage-sim
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/wangwei-ying3/ming-salvage-sim
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/wangwei-ying3/ming-salvage-sim