docs: add r2 env
This commit is contained in:
@@ -23,13 +23,16 @@ LinuxDo_CLIENT_ID=
|
|||||||
LinuxDo_CLIENT_SECRET=
|
LinuxDo_CLIENT_SECRET=
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Email api (https://resend.com) for Auth login (NextAuth) and send email
|
# Email api for send email (https://resend.com, https://www.brevo.com)
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
RESEND_API_KEY=
|
RESEND_API_KEY=
|
||||||
BREVO_API_KEY=
|
BREVO_API_KEY=
|
||||||
EMAIL_FROM=service@wr.do
|
EMAIL_FROM=service@wr.do
|
||||||
EMAIL_FROM_NAME=WRDO
|
EMAIL_FROM_NAME=WRDO
|
||||||
|
|
||||||
|
# Cloudflare R2 Storage custom domain
|
||||||
|
NEXT_PUBLIC_EMAIL_R2_DOMAIN=
|
||||||
|
|
||||||
# Google Analytics
|
# Google Analytics
|
||||||
NEXT_PUBLIC_GOOGLE_ID=
|
NEXT_PUBLIC_GOOGLE_ID=
|
||||||
# Umami Script
|
# Umami Script
|
||||||
|
|||||||
@@ -62,7 +62,8 @@ pnpm install
|
|||||||
| BREVO_API_KEY | `123465` | Brevo API key |
|
| BREVO_API_KEY | `123465` | Brevo API key |
|
||||||
| EMAIL_FROM | `support@your-domain.com` | 发件人邮箱地址. |
|
| EMAIL_FROM | `support@your-domain.com` | 发件人邮箱地址. |
|
||||||
| EMAIL_FROM_NAME | `WR.DO` | 发件人. |
|
| EMAIL_FROM_NAME | `WR.DO` | 发件人. |
|
||||||
| SCREENSHOTONE\_BASE\_URL | `https://api.example.com` | 待补充 |
|
| NEXT_PUBLIC_EMAIL_R2_DOMAIN | `https://r2.example.com` | 附件 R2 存储桶自定义域名 |
|
||||||
|
| SCREENSHOTONE\_BASE\_URL | `https://api.example.com` | |
|
||||||
| GITHUB\_TOKEN | `ghp_sscsfarwetqet` | [https://github.com/settings/tokens](https://github.com/settings/tokens) |
|
| GITHUB\_TOKEN | `ghp_sscsfarwetqet` | [https://github.com/settings/tokens](https://github.com/settings/tokens) |
|
||||||
| NEXT_PUBLIC_GOOGLE_ID | `G-EWREW323` | Google Analytics ID |
|
| NEXT_PUBLIC_GOOGLE_ID | `G-EWREW323` | Google Analytics ID |
|
||||||
| NEXT_PUBLIC_UMAMI_SCRIPT | `https://umami.example.com/script.js` | Umami 站点脚本 |
|
| NEXT_PUBLIC_UMAMI_SCRIPT | `https://umami.example.com/script.js` | Umami 站点脚本 |
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ Copy/paste the `.env.example` in the `.env` file:
|
|||||||
| BREVO_API_KEY | `123465` | The API key for Brevo. |
|
| BREVO_API_KEY | `123465` | The API key for Brevo. |
|
||||||
| EMAIL_FROM | `"support@your-domain.com"` | The email address to send emails from. |
|
| EMAIL_FROM | `"support@your-domain.com"` | The email address to send emails from. |
|
||||||
| EMAIL_FROM_NAME | `"WRDO"` | The name to send emails from. |
|
| EMAIL_FROM_NAME | `"WRDO"` | The name to send emails from. |
|
||||||
|
| NEXT_PUBLIC_EMAIL_R2_DOMAIN | `https://r2.example.com` | The domain of the email R2 bucket. |
|
||||||
| SCREENSHOTONE_BASE_URL | `https://api.example.com` | The base URL of the screenshotone API. |
|
| SCREENSHOTONE_BASE_URL | `https://api.example.com` | The base URL of the screenshotone API. |
|
||||||
| GITHUB_TOKEN | `ghp_sscsfarwetqet` | https://github.com/settings/tokens |
|
| GITHUB_TOKEN | `ghp_sscsfarwetqet` | https://github.com/settings/tokens |
|
||||||
| NEXT_PUBLIC_GOOGLE_ID | `G-EWREW323` | The ID of the Google Analytics. |
|
| NEXT_PUBLIC_GOOGLE_ID | `G-EWREW323` | The ID of the Google Analytics. |
|
||||||
|
|||||||
Reference in New Issue
Block a user