Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2024-12-10 09:05:50 +00:00
parent be6b08014b
commit 1a4657c66c
45 changed files with 676 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# MySQL 服务 (前置检查) [必填]
PANEL_DB_TYPE=mysql
# 数据持久化路径 [必填]
SURVEYKING_ROOT_PATH=/home/surveyking
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=1991
# 数据库 主机地址 [必填]
DB_HOSTNAME=127.0.0.1
# 数据库 端口 [必填]
DB_PORT=5432
# 数据库 名称 [必填]
DB_NAME=surveyking
# 数据库 用户名 [必填]
MYSQL_USER=surveyking
# 数据库 密码 [必填]
MYSQL_PASS=
+75
View File
@@ -0,0 +1,75 @@
additionalProperties:
formFields:
- child:
default: ""
envKey: PANEL_DB_HOST
required: true
type: service
default: mysql
edit: true
envKey: PANEL_DB_TYPE
labelZh: MySQL 服务 (前置检查)
labelEn: Database Service (Pre-check)
required: true
type: apps
values:
- label: MariaDB
value: mariadb
- label: MySQL
value: mysql
- label: Percona
value: percona
- default: "/home/surveyking"
edit: true
envKey: SURVEYKING_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 1991
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: WebUI 端口
labelEn: WebUI port
required: true
rule: paramPort
type: number
- default: "127.0.0.1"
edit: true
envKey: DB_HOSTNAME
labelZh: 数据库 主机地址
labelEn: Database Host
required: true
type: text
- default: 5432
edit: true
envKey: DB_PORT
labelZh: 数据库 端口
labelEn: Database Port
required: true
rule: paramPort
type: number
- default: "surveyking"
edit: true
envKey: DB_NAME
labelZh: 数据库 名称
labelEn: Database Name
required: true
rule: paramCommon
type: text
- default: "surveyking"
edit: true
envKey: MYSQL_USER
labelZh: 数据库 用户名
labelEn: Database Username
required: true
type: text
- default: ""
edit: true
envKey: MYSQL_PASS
labelZh: 数据库 密码
labelEn: Database Password
random: true
required: true
rule: paramComplexity
type: password
@@ -0,0 +1,23 @@
networks:
1panel-network:
external: true
services:
surveyking:
container_name: surveyking
env_file:
- ./envs/global.env
- .env
environment:
- PROFILE=mysql
- DB_URL=jdbc:mysql://${DB_HOSTNAME}:${DB_PORT}/${DB_NAME}
image: surveyking/surveyking:v1.8.2
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:1991
restart: always
volumes:
- ${SURVEYKING_ROOT_PATH}/files:/app/files
- ${SURVEYKING_ROOT_PATH}/logs:/app/logs
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+17
View 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
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -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
+37
View File
@@ -0,0 +1,37 @@
# 卷王
卷王问卷,人人都可快速部署的的问卷考试系统,你可以在此完成在线表单设计,数据收集、统计和分析工作,应用场景覆盖全行业。
![卷王](https://file.lifebus.top/imgs/surveyking_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)
## 特性
### 问卷调查
题型多样,洞悉客户心声
自由创建,题型多样,逻辑编排、数据校验、问卷设置能力遥遥领先,多渠道发布,多终端管理,数据结果清晰可视化,一键下载报告,让问卷工作不再繁琐。
### 在线考试
轻松考试,即刻评分
题库抽题,随机抽题,客观题自动算分,主观题人工打分,防作弊配置,自动显示正确答案和解析,证书在线编制和发放,全流程、轻量化考试解决方案。
### 多维测评
精准测评,专业报告
自由设计测评题目、测评维度、在线编制维度报告,不管是专业的量表试题,还是出具专业的MBTI维度报告,都能轻松快捷应对。
### 数据查询
高效数据处理,智能输出
轻松创建数据查询和分享系统,可以在线完成数据填报、查询和修改。多样化的数据分析选项,数据编码、SPSS导出、Excel导出、实时数据统计报告。
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
+14
View File
@@ -0,0 +1,14 @@
additionalProperties:
key: surveyking
name: 卷王
tags:
- WebSite
- Local
shortDescZh: 卷王问卷考试系统
shortDescEn: SurveyKing is a survey and exam system
type: website
crossVersionUpdate: true
limit: 0
website: https://surveyking.cn/
github: https://github.com/javahuang/surveyking/
document: https://surveyking.cn/help/quickstart/
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB