mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-05 02:52:29 +08:00
Merge remote-tracking branch 'origin/custom' into custom
This commit is contained in:
commit
8abb19d50f
45
appstore/fider/0.24.0/.env
Normal file
45
appstore/fider/0.24.0/.env
Normal file
@ -0,0 +1,45 @@
|
||||
# Postgres 服务 (前置检查) [必填]
|
||||
PANEL_POSTGRES_TYPE=postgresql
|
||||
|
||||
# Web UI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=3000
|
||||
|
||||
# 访问地址 [必填]
|
||||
BASE_URL=http://127.0.0.1:3000
|
||||
|
||||
# 应用密钥 [必填]
|
||||
JWT_SECRET=adc19ed6361cb4af0ff5f5bd3c52930cc6b444777d07bdcb76c2e9d623976b648640c4fbdc00cea739f15ef21522240758d747f65c15c6311f7d8678d8fe1ae565b837cdd5eb9d90594a4501dea1e6711ca0eae873302de27f210219188f4420473749fb67103afe64867120d0f7fadaecd2442e96b165c5f1602e701527f2e72188a18d195127f59632247d578d2b9a9a652240026aa5a317c972e5bdb391caab81b2779eebe0a07e28246b78e58ddd49845cf91f29cbb8e9090b2cf0ce4db0f49d52473fd75f9c274dcb5a9cb3c0bf6dd664b2fb1b603955fef325fd0b34043524b0fad2fcd2686ce04225792e267800b9b66a1762d9ebae4416500541dc8d
|
||||
|
||||
# 数据库 主机地址 [必填]
|
||||
POSTGRES_HOST=127.0.0.1
|
||||
|
||||
# 数据库 端口 [必填]
|
||||
POSTGRES_PORT=5432
|
||||
|
||||
# 数据库 名称 [必填]
|
||||
POSTGRES_NAME=fider
|
||||
|
||||
# 数据库 用户名 [必填]
|
||||
POSTGRES_USER=fider
|
||||
|
||||
# 数据库 密码 [必填]
|
||||
POSTGRES_PASSWORD=
|
||||
|
||||
# 邮件服务 地址 [必填]
|
||||
EMAIL_SMTP_HOST=
|
||||
|
||||
# 邮件服务 端口 [必填]
|
||||
EMAIL_SMTP_PORT=465
|
||||
|
||||
# 邮件服务 用户名 [必填]
|
||||
EMAIL_SMTP_USERNAME=
|
||||
|
||||
# 邮件服务 密码 [必填]
|
||||
EMAIL_SMTP_PASSWORD=
|
||||
|
||||
# 邮件服务 发件人 [必填]
|
||||
EMAIL_NOREPLY=
|
||||
|
||||
# 邮件服务 启用 STARTTLS [必填]
|
||||
EMAIL_SMTP_ENABLE_STARTTLS=true
|
||||
|
125
appstore/fider/0.24.0/data.yml
Normal file
125
appstore/fider/0.24.0/data.yml
Normal file
@ -0,0 +1,125 @@
|
||||
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_SMTP_HOST
|
||||
labelZh: 邮件服务 地址
|
||||
labelEn: Mailer Server Address
|
||||
required: true
|
||||
type: text
|
||||
- default: 465
|
||||
edit: true
|
||||
envKey: EMAIL_SMTP_PORT
|
||||
labelZh: 邮件服务 端口
|
||||
labelEn: Mailer Server Port
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: EMAIL_SMTP_USERNAME
|
||||
labelZh: 邮件服务 用户名
|
||||
labelEn: Mailer Username
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: EMAIL_SMTP_PASSWORD
|
||||
labelZh: 邮件服务 密码
|
||||
labelEn: Mailer Password
|
||||
required: true
|
||||
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
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: "是"
|
||||
value: "true"
|
||||
- label: "否"
|
||||
value: "false"
|
19
appstore/fider/0.24.0/docker-compose.yml
Normal file
19
appstore/fider/0.24.0/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
fider:
|
||||
container_name: fider
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_NAME}?sslmode=disable
|
||||
image: getfider/fider:v0.24.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3000
|
||||
restart: always
|
2
appstore/fider/0.24.0/envs/default.env
Normal file
2
appstore/fider/0.24.0/envs/default.env
Normal file
@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
2
appstore/fider/0.24.0/envs/global.env
Normal file
2
appstore/fider/0.24.0/envs/global.env
Normal file
@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
30
appstore/fider/0.24.0/scripts/init.sh
Normal file
30
appstore/fider/0.24.0/scripts/init.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/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
|
||||
|
||||
DATA_DIR="$ARTALK_ROOT_PATH/data"
|
||||
|
||||
mkdir -p "$DATA_DIR"
|
||||
|
||||
OUTPUT_FILE="$DATA_DIR/ip2region.xdb"
|
||||
|
||||
URL1="https://gh-proxy.com/?q=https%3A%2F%2Fgithub.com%2Flionsoul2014%2Fip2region%2Fblob%2Fmaster%2Fdata%2Fip2region.xdb"
|
||||
URL2="https://github.com/lionsoul2014/ip2region/raw/master/data/ip2region.xdb"
|
||||
|
||||
curl -L "$URL1" -o "$OUTPUT_FILE" || curl -L "$URL2" -o "$OUTPUT_FILE"
|
||||
|
||||
chmod -R 777 "$DATA_DIR"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
appstore/fider/0.24.0/scripts/uninstall.sh
Normal file
10
appstore/fider/0.24.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
|
30
appstore/fider/0.24.0/scripts/upgrade.sh
Normal file
30
appstore/fider/0.24.0/scripts/upgrade.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/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
|
||||
|
||||
DATA_DIR="$ARTALK_ROOT_PATH/data"
|
||||
|
||||
mkdir -p "$DATA_DIR"
|
||||
|
||||
OUTPUT_FILE="$DATA_DIR/ip2region.xdb"
|
||||
|
||||
URL1="https://gh-proxy.com/?q=https%3A%2F%2Fgithub.com%2Flionsoul2014%2Fip2region%2Fblob%2Fmaster%2Fdata%2Fip2region.xdb"
|
||||
URL2="https://github.com/lionsoul2014/ip2region/raw/master/data/ip2region.xdb"
|
||||
|
||||
curl -L "$URL1" -o "$OUTPUT_FILE" || curl -L "$URL2" -o "$OUTPUT_FILE"
|
||||
|
||||
chmod -R 777 "$DATA_DIR"
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
63
appstore/fider/README.md
Normal file
63
appstore/fider/README.md
Normal file
@ -0,0 +1,63 @@
|
||||
# Fider
|
||||
|
||||
简单而优雅的功能投票工具
|
||||
|
||||
![Fider](https://file.lifebus.top/imgs/fider_cover.png)
|
||||
|
||||
创建一个用户反馈、投票和讨论真正重要功能的社区。消除猜测,了解并构建他们真正需要的功能。
|
||||
|
||||
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
|
||||
|
||||
## 特性
|
||||
|
||||
+ 分享想法,投票并讨论
|
||||
|
||||
为您的社区发声,获取宝贵的建议,优先考虑他们最需要的东西。
|
||||
|
||||
+ 保持每个人知情
|
||||
|
||||
每次您开始、完成或拒绝建议时,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% 开源。
|
||||
|
||||
---
|
||||
|
||||
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
14
appstore/fider/data.yml
Normal file
14
appstore/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
appstore/fider/logo.png
Normal file
BIN
appstore/fider/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
45
dockge/fider/.env
Normal file
45
dockge/fider/.env
Normal file
@ -0,0 +1,45 @@
|
||||
# Postgres 服务 (前置检查) [必填]
|
||||
PANEL_POSTGRES_TYPE=postgresql
|
||||
|
||||
# Web UI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=3000
|
||||
|
||||
# 访问地址 [必填]
|
||||
BASE_URL=http://127.0.0.1:3000
|
||||
|
||||
# 应用密钥 [必填]
|
||||
JWT_SECRET=adc19ed6361cb4af0ff5f5bd3c52930cc6b444777d07bdcb76c2e9d623976b648640c4fbdc00cea739f15ef21522240758d747f65c15c6311f7d8678d8fe1ae565b837cdd5eb9d90594a4501dea1e6711ca0eae873302de27f210219188f4420473749fb67103afe64867120d0f7fadaecd2442e96b165c5f1602e701527f2e72188a18d195127f59632247d578d2b9a9a652240026aa5a317c972e5bdb391caab81b2779eebe0a07e28246b78e58ddd49845cf91f29cbb8e9090b2cf0ce4db0f49d52473fd75f9c274dcb5a9cb3c0bf6dd664b2fb1b603955fef325fd0b34043524b0fad2fcd2686ce04225792e267800b9b66a1762d9ebae4416500541dc8d
|
||||
|
||||
# 数据库 主机地址 [必填]
|
||||
POSTGRES_HOST=127.0.0.1
|
||||
|
||||
# 数据库 端口 [必填]
|
||||
POSTGRES_PORT=5432
|
||||
|
||||
# 数据库 名称 [必填]
|
||||
POSTGRES_NAME=fider
|
||||
|
||||
# 数据库 用户名 [必填]
|
||||
POSTGRES_USER=fider
|
||||
|
||||
# 数据库 密码 [必填]
|
||||
POSTGRES_PASSWORD=
|
||||
|
||||
# 邮件服务 地址 [必填]
|
||||
EMAIL_SMTP_HOST=
|
||||
|
||||
# 邮件服务 端口 [必填]
|
||||
EMAIL_SMTP_PORT=465
|
||||
|
||||
# 邮件服务 用户名 [必填]
|
||||
EMAIL_SMTP_USERNAME=
|
||||
|
||||
# 邮件服务 密码 [必填]
|
||||
EMAIL_SMTP_PASSWORD=
|
||||
|
||||
# 邮件服务 发件人 [必填]
|
||||
EMAIL_NOREPLY=
|
||||
|
||||
# 邮件服务 启用 STARTTLS [必填]
|
||||
EMAIL_SMTP_ENABLE_STARTTLS=true
|
||||
|
19
dockge/fider/docker-compose.yml
Normal file
19
dockge/fider/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
fider:
|
||||
container_name: fider
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_NAME}?sslmode=disable
|
||||
image: getfider/fider:v0.24.0
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3000
|
||||
restart: always
|
2
dockge/fider/envs/default.env
Normal file
2
dockge/fider/envs/default.env
Normal file
@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
2
dockge/fider/envs/global.env
Normal file
2
dockge/fider/envs/global.env
Normal file
@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
Loading…
Reference in New Issue
Block a user