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 }}
whalezhao
aster-qa
Repository navigation
Code
Issues
Pull requests
6
(6)
Discussions
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
aster-qa
/
.env.example
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
51 lines (39 loc) · 1.95 KB
main
Breadcrumbs
aster-qa
/
.env.example
Copy path
Top
File metadata and controls
Code
Blame
51 lines (39 loc) · 1.95 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# ── 必改 ─────────────────────────────────────────────
# PostgreSQL 密码(compose 内的库)
POSTGRES_PASSWORD=change-me
# JWT 签名密钥,至少 32 字节;生成:openssl rand -base64 48
SECRET_KEY=dev-only-change-me
# 环境变量里的密钥用它加密。留空则从 SECRET_KEY 派生;
# 如果以后要轮换 SECRET_KEY,先把它固定下来,否则已存的环境密钥会解不开。
ENVIRONMENT_SECRET_KEY=
# ── 可选 ─────────────────────────────────────────────
# 浏览器访问端口 / API 直接暴露的端口 / PostgreSQL 宿主机端口
WEB_PORT=8080
API_PORT=8000
POSTGRES_PORT=5432
# Docker 镜像:命名空间和版本。本地构建/运行也使用这套 tag;
# 发布脚本会按项目版本同步这三类镜像。
DOCKERHUB_NAMESPACE=whalezhao
ASTER_QA_VERSION=0.2.0
# 前端 origin(同源部署保持默认即可)
CORS_ORIGINS=http://localhost:8080
# 登录 token 有效期(分钟)
ACCESS_TOKEN_EXPIRE_MINUTES=720
# 构建镜像时若容器访问不了 PyPI/npm(企业网络/代理),设为 host
BUILD_NETWORK=default
# 构建镜像的国内镜像源(留空走官方源,GitHub Actions 等海外构建不用填)
# DEBIAN_MIRROR=https://mirrors.aliyun.com
# PLAYWRIGHT_DOWNLOAD_HOST=https://npmmirror.com/mirrors/playwright
# UV_INDEX_URL=https://mirrors.aliyun.com/pypi/simple
# NPM_REGISTRY=https://registry.npmmirror.com
DEBIAN_MIRROR=
PLAYWRIGHT_DOWNLOAD_HOST=
UV_INDEX_URL=
NPM_REGISTRY=
# 单个用例的执行超时(毫秒)
CASE_TIMEOUT_MS=600000
# worker 水平扩容:副本数 × 每副本槽位是物理上限,真正并发还受界面「全局执行并发」约束
WORKER_REPLICAS=1
WORKER_CONCURRENCY=4
# 超过这个秒数没心跳,才认为 worker 失联并回收它名下的 run
WORKER_STALE_SECONDS=90
You can’t perform that action at this time.