Merge QYG2297248353/appstore-1panel into pooneyy/1Panel-Appstore
This commit is contained in:
166
apps/fider/0.27.0/data.yml
Normal file
166
apps/fider/0.27.0/data.yml
Normal file
@@ -0,0 +1,166 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_POSTGRES_SERVICE
|
||||
required: true
|
||||
type: service
|
||||
default: postgresql
|
||||
envKey: PANEL_POSTGRES_TYPE
|
||||
labelZh: Postgres 服务 (前置检查)
|
||||
labelEn: Postgres Service (Pre-check)
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: PostgreSQL
|
||||
value: postgresql
|
||||
- default: 3000
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: Web UI 端口
|
||||
labelEn: Web UI Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "http://127.0.0.1:3000"
|
||||
edit: true
|
||||
envKey: BASE_URL
|
||||
labelZh: 访问地址
|
||||
labelEn: Access URL
|
||||
required: true
|
||||
type: text
|
||||
- default: "adc19ed6361cb4af0ff5f5bd3c52930cc6b444777d07bdcb76c2e9d623976b648640c4fbdc00cea739f15ef21522240758d747f65c15c6311f7d8678d8fe1ae565b837cdd5eb9d90594a4501dea1e6711ca0eae873302de27f210219188f4420473749fb67103afe64867120d0f7fadaecd2442e96b165c5f1602e701527f2e72188a18d195127f59632247d578d2b9a9a652240026aa5a317c972e5bdb391caab81b2779eebe0a07e28246b78e58ddd49845cf91f29cbb8e9090b2cf0ce4db0f49d52473fd75f9c274dcb5a9cb3c0bf6dd664b2fb1b603955fef325fd0b34043524b0fad2fcd2686ce04225792e267800b9b66a1762d9ebae4416500541dc8d"
|
||||
edit: true
|
||||
envKey: JWT_SECRET
|
||||
labelZh: 应用密钥
|
||||
labelEn: App key
|
||||
required: true
|
||||
type: password
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: POSTGRES_HOST
|
||||
labelZh: 数据库 主机地址
|
||||
labelEn: Database Host
|
||||
required: true
|
||||
type: text
|
||||
- default: 5432
|
||||
edit: true
|
||||
envKey: POSTGRES_PORT
|
||||
labelZh: 数据库 端口
|
||||
labelEn: Database Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "fider"
|
||||
edit: true
|
||||
envKey: POSTGRES_NAME
|
||||
labelZh: 数据库 名称
|
||||
labelEn: Database Name
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "fider"
|
||||
edit: true
|
||||
envKey: POSTGRES_USER
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database Username
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: POSTGRES_PASSWORD
|
||||
labelZh: 数据库 密码
|
||||
labelEn: Database Password
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: ""
|
||||
edit: true
|
||||
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: 端口 (SMTP)
|
||||
labelEn: Mailer Port (SMTP)
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: EMAIL_SMTP_USERNAME
|
||||
labelZh: 用户名 (SMTP)
|
||||
labelEn: Mailer Username (SMTP)
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: EMAIL_SMTP_PASSWORD
|
||||
labelZh: 密码 (SMTP)
|
||||
labelEn: Mailer Password (SMTP)
|
||||
required: false
|
||||
type: text
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: EMAIL_SMTP_ENABLE_STARTTLS
|
||||
labelZh: 启用 STARTTLS (SMTP)
|
||||
labelEn: Enable STARTTLS (SMTP)
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: "是"
|
||||
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
|
||||
20
apps/fider/0.27.0/docker-compose.yml
Normal file
20
apps/fider/0.27.0/docker-compose.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
fider:
|
||||
image: getfider/fider:v0.27.0
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3000
|
||||
env_file:
|
||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
environment:
|
||||
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_NAME}?sslmode=disable
|
||||
2
apps/fider/0.27.0/envs/default.env
Normal file
2
apps/fider/0.27.0/envs/default.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
2
apps/fider/0.27.0/envs/global.env
Normal file
2
apps/fider/0.27.0/envs/global.env
Normal file
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
17
apps/fider/0.27.0/scripts/init.sh
Normal file
17
apps/fider/0.27.0/scripts/init.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
10
apps/fider/0.27.0/scripts/uninstall.sh
Normal file
10
apps/fider/0.27.0/scripts/uninstall.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
17
apps/fider/0.27.0/scripts/upgrade.sh
Normal file
17
apps/fider/0.27.0/scripts/upgrade.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
sed -i '/^GLOBAL_ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
73
apps/fider/README.md
Normal file
73
apps/fider/README.md
Normal file
@@ -0,0 +1,73 @@
|
||||
# Fider
|
||||
|
||||
简单而优雅的功能投票工具
|
||||
|
||||

|
||||
|
||||
创建一个用户反馈、投票和讨论真正重要功能的社区。消除猜测,了解并构建他们真正需要的功能。
|
||||
|
||||

|
||||
|
||||
## 特性
|
||||
|
||||
+ 分享想法,投票并讨论
|
||||
|
||||
为您的社区发声,获取宝贵的建议,优先考虑他们最需要的东西。
|
||||
|
||||
+ 保持每个人知情
|
||||
|
||||
每次您开始、完成或拒绝建议时,Fider 都会通知订阅该主题的每个人。
|
||||
|
||||
+ 一键登录
|
||||
|
||||
访客只需一键即可参与贡献!通过 Facebook、Google、GitHub、Azure AD、Twitch、Discord 或其他 OAuth2 提供者登录。
|
||||
|
||||
+ 私人网站
|
||||
|
||||
您可以选择通过将其设为私有来控制对您网站的访问。
|
||||
|
||||
+ 您的品牌
|
||||
|
||||
使用自定义 CSS 功能以您希望的方式设计 Fider。您的标志、您的颜色、您的身份。
|
||||
|
||||
+ 公共 API
|
||||
|
||||
利用我们完整的 API,完全控制将 Fider 集成到您的流程中。
|
||||
|
||||
+ 集成
|
||||
|
||||
Fider 可以与支持 Webhook 的任何系统集成,例如 Slack 和 Discord。
|
||||
|
||||
+ 多语言
|
||||
|
||||
我们说你的语言!Fider 已翻译成 10 多种语言,例如英语、西班牙语、德语、法语和葡萄牙语!
|
||||
|
||||
+ 整理您的内容
|
||||
|
||||
为您的内容添加标签,以便更容易查找、分组和决策。标签可以是公开的,也可以是私有的。
|
||||
|
||||
+ text Markdown 文本
|
||||
|
||||
使用流行的 Markdown 标记语言来格式化您的文本。
|
||||
|
||||
+ 您的域名
|
||||
|
||||
当使用我们的托管服务时,您可以使用自己的域名并获得免费的 TLS 证书以确保其安全。
|
||||
|
||||
+ 开源
|
||||
|
||||
Fider 是 100% 开源。
|
||||
|
||||
## 安装说明
|
||||
|
||||
### `应用密钥` 配置
|
||||
|
||||
可以从 [JWT Secret Generator](https://jwtsecret.com/generate) 生成
|
||||
|
||||
### `邮件` 配置
|
||||
|
||||
您必须在 `SMTP` `Mailgun` 或 `AWS SES` 中任选其一作为邮件服务,否则无法发送邮件,也无法注册用户。
|
||||
|
||||
---
|
||||
|
||||

|
||||
14
apps/fider/data.yml
Normal file
14
apps/fider/data.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
additionalProperties:
|
||||
key: fider
|
||||
name: Fider
|
||||
tags:
|
||||
- WebSite
|
||||
- Local
|
||||
shortDescZh: 简单而优雅的功能投票工具
|
||||
shortDescEn: The simple and elegant feature voting tool
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://fider.io/
|
||||
github: https://github.com/getfider/fider/
|
||||
document: https://fider.io/docs/hosting-instance
|
||||
BIN
apps/fider/logo.png
Normal file
BIN
apps/fider/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Reference in New Issue
Block a user