From 8feab89b787a6a4e03e33f12365556ca62bc24a7 Mon Sep 17 00:00:00 2001 From: QYG2297248353 Date: Tue, 3 Dec 2024 05:02:56 +0000 Subject: [PATCH] Processed apps directory via GitHub Actions --- appstore/fider/0.24.0/.env | 46 +++++++++++++------ appstore/fider/0.24.0/data.yml | 83 +++++++++++++++++++++++++--------- appstore/fider/README.md | 4 ++ dockge/fider/.env | 46 +++++++++++++------ 4 files changed, 130 insertions(+), 49 deletions(-) diff --git a/appstore/fider/0.24.0/.env b/appstore/fider/0.24.0/.env index 3311f134..3d2f182e 100644 --- a/appstore/fider/0.24.0/.env +++ b/appstore/fider/0.24.0/.env @@ -25,21 +25,39 @@ POSTGRES_USER=fider # 数据库 密码 [必填] POSTGRES_PASSWORD= -# 邮件服务 地址 [必填] -EMAIL_SMTP_HOST= - -# 邮件服务 端口 [必填] -EMAIL_SMTP_PORT=465 - -# 邮件服务 用户名 [必填] -EMAIL_SMTP_USERNAME= - -# 邮件服务 密码 [必填] -EMAIL_SMTP_PASSWORD= - -# 邮件服务 发件人 [必填] +# 发件人地址 [必填] EMAIL_NOREPLY= -# 邮件服务 启用 STARTTLS [必填] +# 主机地址 (SMTP) +EMAIL_SMTP_HOST= + +# 端口 (SMTP) [必填] +EMAIL_SMTP_PORT=465 + +# 用户名 (SMTP) +EMAIL_SMTP_USERNAME= + +# 密码 (SMTP) +EMAIL_SMTP_PASSWORD= + +# 启用 STARTTLS (SMTP) [必填] EMAIL_SMTP_ENABLE_STARTTLS=true +# API 地址 (Mailgun) +EMAIL_MAILGUN_API= + +# 域名 (Mailgun) +EMAIL_MAILGUN_DOMAIN= + +# 区域 (Mailgun) +EMAIL_MAILGUN_REGION=US + +# 区域 (AWS SES) +EMAIL_AWSSES_REGION=us-east-1 + +# 授权 ID (AWS SES) +EMAIL_AWSSES_ACCESS_KEY_ID= + +# 授权密钥 (AWS SES) +EMAIL_AWSSES_SECRET_ACCESS_KEY= + diff --git a/appstore/fider/0.24.0/data.yml b/appstore/fider/0.24.0/data.yml index dbca45ee..02d553a1 100644 --- a/appstore/fider/0.24.0/data.yml +++ b/appstore/fider/0.24.0/data.yml @@ -77,45 +77,44 @@ additionalProperties: type: password - default: "" edit: true - envKey: EMAIL_SMTP_HOST - labelZh: 邮件服务 地址 - labelEn: Mailer Server Address + envKey: EMAIL_NOREPLY + labelZh: 发件人地址 + labelEn: Mailer Sender Address required: true type: text + - default: "" + edit: true + envKey: EMAIL_SMTP_HOST + labelZh: 主机地址 (SMTP) + labelEn: Mailer Host (SMTP) + required: false + type: text - default: 465 edit: true envKey: EMAIL_SMTP_PORT - labelZh: 邮件服务 端口 - labelEn: Mailer Server Port + labelZh: 端口 (SMTP) + labelEn: Mailer Port (SMTP) required: true type: number - default: "" edit: true envKey: EMAIL_SMTP_USERNAME - labelZh: 邮件服务 用户名 - labelEn: Mailer Username - required: true + labelZh: 用户名 (SMTP) + labelEn: Mailer Username (SMTP) + required: false type: text - default: "" edit: true envKey: EMAIL_SMTP_PASSWORD - labelZh: 邮件服务 密码 - labelEn: Mailer Password - required: true + labelZh: 密码 (SMTP) + labelEn: Mailer Password (SMTP) + required: false type: text - - default: "" - edit: true - envKey: EMAIL_NOREPLY - labelZh: 邮件服务 发件人 - labelEn: Mailer From - required: true - type: text - - default: "true" edit: true envKey: EMAIL_SMTP_ENABLE_STARTTLS - labelZh: 邮件服务 启用 STARTTLS - labelEn: Mailer Enable STARTTLS + labelZh: 启用 STARTTLS (SMTP) + labelEn: Enable STARTTLS (SMTP) required: true type: select values: @@ -123,3 +122,45 @@ additionalProperties: value: "true" - label: "否" value: "false" + - default: "" + edit: true + envKey: EMAIL_MAILGUN_API + labelZh: API 地址 (Mailgun) + labelEn: API URL (Mailgun) + required: false + type: text + - default: "" + edit: true + envKey: EMAIL_MAILGUN_DOMAIN + labelZh: 域名 (Mailgun) + labelEn: Domain (Mailgun) + required: false + type: text + - default: "US" + edit: true + envKey: EMAIL_MAILGUN_REGION + labelZh: 区域 (Mailgun) + labelEn: Region (Mailgun) + required: false + type: text + - default: "us-east-1" + edit: true + envKey: EMAIL_AWSSES_REGION + labelZh: 区域 (AWS SES) + labelEn: Region (AWS SES) + required: false + type: text + - default: "" + edit: true + envKey: EMAIL_AWSSES_ACCESS_KEY_ID + labelZh: 授权 ID (AWS SES) + labelEn: Access Key ID (AWS SES) + required: false + type: text + - default: "" + edit: true + envKey: EMAIL_AWSSES_SECRET_ACCESS_KEY + labelZh: 授权密钥 (AWS SES) + labelEn: Access Key Secret (AWS SES) + required: false + type: text diff --git a/appstore/fider/README.md b/appstore/fider/README.md index d7ae55dd..5b897e86 100644 --- a/appstore/fider/README.md +++ b/appstore/fider/README.md @@ -64,6 +64,10 @@ Fider 是 100% 开源。 可以从 [JWT Secret Generator](https://jwtsecret.com/generate) 生成 +### `邮件` 配置 + +您必须在 `SMTP` `Mailgun` 或 `AWS SES` 中任选其一作为邮件服务,否则无法发送邮件,也无法注册用户。 + --- ![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/dockge/fider/.env b/dockge/fider/.env index 3311f134..3d2f182e 100644 --- a/dockge/fider/.env +++ b/dockge/fider/.env @@ -25,21 +25,39 @@ POSTGRES_USER=fider # 数据库 密码 [必填] POSTGRES_PASSWORD= -# 邮件服务 地址 [必填] -EMAIL_SMTP_HOST= - -# 邮件服务 端口 [必填] -EMAIL_SMTP_PORT=465 - -# 邮件服务 用户名 [必填] -EMAIL_SMTP_USERNAME= - -# 邮件服务 密码 [必填] -EMAIL_SMTP_PASSWORD= - -# 邮件服务 发件人 [必填] +# 发件人地址 [必填] EMAIL_NOREPLY= -# 邮件服务 启用 STARTTLS [必填] +# 主机地址 (SMTP) +EMAIL_SMTP_HOST= + +# 端口 (SMTP) [必填] +EMAIL_SMTP_PORT=465 + +# 用户名 (SMTP) +EMAIL_SMTP_USERNAME= + +# 密码 (SMTP) +EMAIL_SMTP_PASSWORD= + +# 启用 STARTTLS (SMTP) [必填] EMAIL_SMTP_ENABLE_STARTTLS=true +# API 地址 (Mailgun) +EMAIL_MAILGUN_API= + +# 域名 (Mailgun) +EMAIL_MAILGUN_DOMAIN= + +# 区域 (Mailgun) +EMAIL_MAILGUN_REGION=US + +# 区域 (AWS SES) +EMAIL_AWSSES_REGION=us-east-1 + +# 授权 ID (AWS SES) +EMAIL_AWSSES_ACCESS_KEY_ID= + +# 授权密钥 (AWS SES) +EMAIL_AWSSES_SECRET_ACCESS_KEY= +