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= POSTGRES_PASSWORD=
# 邮件服务 地址 [必填] # 发件人地址 [必填]
EMAIL_SMTP_HOST=
# 邮件服务 端口 [必填]
EMAIL_SMTP_PORT=465
# 邮件服务 用户名 [必填]
EMAIL_SMTP_USERNAME=
# 邮件服务 密码 [必填]
EMAIL_SMTP_PASSWORD=
# 邮件服务 发件人 [必填]
EMAIL_NOREPLY= 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 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 type: password
- default: "" - default: ""
edit: true edit: true
envKey: EMAIL_SMTP_HOST envKey: EMAIL_NOREPLY
labelZh: 邮件服务 地址 labelZh: 发件人地址
labelEn: Mailer Server Address labelEn: Mailer Sender Address
required: true required: true
type: text type: text
- default: ""
edit: true
envKey: EMAIL_SMTP_HOST
labelZh: 主机地址 (SMTP)
labelEn: Mailer Host (SMTP)
required: false
type: text
- default: 465 - default: 465
edit: true edit: true
envKey: EMAIL_SMTP_PORT envKey: EMAIL_SMTP_PORT
labelZh: 邮件服务 端口 labelZh: 端口 (SMTP)
labelEn: Mailer Server Port labelEn: Mailer Port (SMTP)
required: true required: true
type: number type: number
- default: "" - default: ""
edit: true edit: true
envKey: EMAIL_SMTP_USERNAME envKey: EMAIL_SMTP_USERNAME
labelZh: 邮件服务 用户名 labelZh: 用户名 (SMTP)
labelEn: Mailer Username labelEn: Mailer Username (SMTP)
required: true required: false
type: text type: text
- default: "" - default: ""
edit: true edit: true
envKey: EMAIL_SMTP_PASSWORD envKey: EMAIL_SMTP_PASSWORD
labelZh: 邮件服务 密码 labelZh: 密码 (SMTP)
labelEn: Mailer Password labelEn: Mailer Password (SMTP)
required: true required: false
type: text type: text
- default: ""
edit: true
envKey: EMAIL_NOREPLY
labelZh: 邮件服务 发件人
labelEn: Mailer From
required: true
type: text
- default: "true" - default: "true"
edit: true edit: true
envKey: EMAIL_SMTP_ENABLE_STARTTLS envKey: EMAIL_SMTP_ENABLE_STARTTLS
labelZh: 邮件服务 启用 STARTTLS labelZh: 启用 STARTTLS (SMTP)
labelEn: Mailer Enable STARTTLS labelEn: Enable STARTTLS (SMTP)
required: true required: true
type: select type: select
values: values:
@ -123,3 +122,45 @@ additionalProperties:
value: "true" value: "true"
- label: "否" - label: "否"
value: "false" 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) 生成 可以从 [JWT Secret Generator](https://jwtsecret.com/generate) 生成
### `邮件` 配置
您必须在 `SMTP` `Mailgun``AWS SES` 中任选其一作为邮件服务,否则无法发送邮件,也无法注册用户。
--- ---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) ![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)

View File

@ -25,21 +25,39 @@ POSTGRES_USER=fider
# 数据库 密码 [必填] # 数据库 密码 [必填]
POSTGRES_PASSWORD= POSTGRES_PASSWORD=
# 邮件服务 地址 [必填] # 发件人地址 [必填]
EMAIL_SMTP_HOST=
# 邮件服务 端口 [必填]
EMAIL_SMTP_PORT=465
# 邮件服务 用户名 [必填]
EMAIL_SMTP_USERNAME=
# 邮件服务 密码 [必填]
EMAIL_SMTP_PASSWORD=
# 邮件服务 发件人 [必填]
EMAIL_NOREPLY= 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 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=