Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353 2024-12-03 05:02:56 +00:00
parent ed09ee9e80
commit 8feab89b78
4 changed files with 130 additions and 49 deletions

View File

@ -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=

View File

@ -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

View File

@ -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)

View File

@ -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=