Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
vdeng-ai
ModelPing
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
ModelPing
/
.env.example
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
27 lines (20 loc) · 1.37 KB
main
Breadcrumbs
ModelPing
/
.env.example
Copy path
Top
File metadata and controls
Code
Blame
27 lines (20 loc) · 1.37 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 复制为 .env 并填真实值(.env 已在 .gitignore,不会进仓库)。
# 部署到盒子时:cp .env.example .env && 编辑 .env
# 访问口令(公网暴露务必设强口令)
APP_PASSWORD=
# 私有工作态(历史/连接/参数/状态页,含 API Key)加密密钥。
# Docker compose 要求设置;建议用长随机值,并与 APP_PASSWORD 分开,换访问口令时不会影响解密。
PRIVATE_STATE_SECRET=
# 可选:私有工作态持久化范围。
# full=历史/连接/参数/状态全部持久化;config=只持久化连接/参数/状态,不保存测试历史;none=关闭。
# Cloudflare 免费版推荐在 wrangler.toml 使用 config,降低 KV 写入。
# PRIVATE_STATE_SCOPE=full
# 可选:状态页自动刷新每天的 Worker 请求软预算。Cloudflare 默认在 wrangler.toml 设为 60000。
# DAILY_REQUEST_BUDGET=60000
# 可选:旧状态页密钥兼容项;新版本仅在 PRIVATE_STATE_SECRET 不填时把它作为 fallback。
# STATUS_SECRET=change-me-to-a-long-random-secret
# 可选:逗号分隔的目标主机白名单(防开放代理/SSRF);缺省不限制。
# ALLOWED_HOSTS=api.openai.com,api.anthropic.com
# 可选:设为 1 拒绝目标解析到私有/环回/链路本地/云元数据地址(应用层 SSRF 兜底)。
# 默认关闭——若需测试本地/内网端点(如 Ollama)请勿开启。
# BLOCK_PRIVATE_HOSTS=1
You can’t perform that action at this time.