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 }}
ca-x
raindrop
Repository navigation
Code
Issues
Pull requests
2
(2)
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
raindrop
/
.env.example
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
30 lines (23 loc) · 1.76 KB
main
Breadcrumbs
raindrop
/
.env.example
Copy path
Top
File metadata and controls
Code
Blame
30 lines (23 loc) · 1.76 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
# Raindrop 不会自动加载 .env。请由 shell、容器或服务管理器注入这些变量。
# 复制为 .env 后必须替换 CHANGE_ME_*,不要提交 .env。
RAINDROP_DATA_DIR=./data
RAINDROP_BIND=127.0.0.1:8080
RAINDROP_PUBLIC_URL=http://127.0.0.1:8080
RAINDROP_DATABASE_URL=sqlite://data/raindrop.db?mode=rwc
# orphan Feed 的物理清理宽限期,默认 30 天;设为 0 可禁用,最大 3650。
# RAINDROP_FEED_ORPHAN_RETENTION_DAYS=30
# 当前阶段可选。启用时至少 32 字节,并使用随机值。
# RAINDROP_SESSION_SECRET=CHANGE_ME_WITH_AT_LEAST_32_RANDOM_BYTES
# SQLite 会在数据目录自动创建 provider-secret.key;PostgreSQL/MySQL、多实例部署或密钥轮换应显式配置 active-first keyring。
# 配置后可在“设置 > 插件”创建或轮换 Provider。key material 必须是 32 随机字节的无 padding URL-safe base64,不得复用 session secret。
# RAINDROP_PROVIDER_SECRET_KEYS=primary:CHANGE_ME_WITH_32_BYTE_BASE64URL_NO_PADDING
# AI Provider 支持 HTTP/HTTPS、公网、局域网、IPv4/IPv6 与 localhost,无需网络白名单。
# HTTPS 仍验证服务证书;模型获取、总结和翻译共用地址规则。
# 以下三个变量只用于从源码构建正式发布产物,不属于运行时配置,也不要写入部署 .env。
# GitHub Actions 使用仓库 secret 和 Docker BuildKit secret;本地普通构建会明确使用 development 签名根。
# RAINDROP_REQUIRE_OFFICIAL_PLUGIN_SIGNATURE=1
# RAINDROP_OFFICIAL_PLUGIN_SIGNING_KEY_ID=raindrop-release-2026
# RAINDROP_OFFICIAL_PLUGIN_SIGNING_SEED=STORE_THIS_32_BYTE_BASE64URL_VALUE_IN_A_SECRET_MANAGER
RAINDROP_BOOTSTRAP_ADMIN_USERNAME=admin
RAINDROP_BOOTSTRAP_ADMIN_PASSWORD=CHANGE_ME_WITH_A_STRONG_PASSWORD
# RAINDROP_BOOTSTRAP_ADMIN_EMAIL=admin@example.invalid
You can’t perform that action at this time.