发布 问卷星 limesurvey
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
46646a3405
commit
bb9d9eaf83
|
|
@ -0,0 +1,123 @@
|
|||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
required: true
|
||||
type: service
|
||||
default: postgresql
|
||||
envKey: PANEL_DB_TYPE
|
||||
labelZh: 数据库服务 (前置检查)
|
||||
labelEn: Database Service
|
||||
required: true
|
||||
type: apps
|
||||
values:
|
||||
- label: PostgreSQL
|
||||
value: postgresql
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- label: MariaDB
|
||||
value: mariadb
|
||||
- label: Percona
|
||||
value: percona
|
||||
- default: "/home/limesurvey"
|
||||
edit: true
|
||||
envKey: LIMESURVEY_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 8080
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 访问端口
|
||||
labelEn: Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "Admin"
|
||||
edit: true
|
||||
envKey: ADMIN_NAME
|
||||
labelZh: 管理员 昵称
|
||||
labelEn: Admin Name
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ADMIN_EMAIL
|
||||
labelZh: 管理员 邮箱
|
||||
labelEn: Admin Email
|
||||
required: true
|
||||
type: text
|
||||
- default: "admin"
|
||||
edit: true
|
||||
envKey: ADMIN_USER
|
||||
labelZh: 管理员 用户名
|
||||
labelEn: Admin Username
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: ADMIN_NAME
|
||||
labelZh: 管理员 密码
|
||||
labelEn: Admin Password
|
||||
required: true
|
||||
type: password
|
||||
- default: "pgsql"
|
||||
edit: true
|
||||
envKey: DB_TYPE
|
||||
labelZh: 数据库 类型
|
||||
labelEn: Database Type
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: PostgreSQL
|
||||
value: "pgsql"
|
||||
- label: MySQL (MariaDB, Percona)
|
||||
value: "mysql"
|
||||
- default: "127.0.0.1"
|
||||
edit: true
|
||||
envKey: DB_HOST
|
||||
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: "limesurvey"
|
||||
edit: true
|
||||
envKey: DB_NAME
|
||||
labelZh: 数据库 名称
|
||||
labelEn: Database Name
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
- default: "limesurvey"
|
||||
edit: true
|
||||
envKey: DB_USERNAME
|
||||
labelZh: 数据库 用户名
|
||||
labelEn: Database Username
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: DB_PASSWORD
|
||||
labelZh: 数据库 密码
|
||||
labelEn: Database Password
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: "127.0.0.1:8080"
|
||||
edit: true
|
||||
envKey: PUBLIC_URL
|
||||
labelZh: 公网域名
|
||||
labelEn: Public URL
|
||||
required: true
|
||||
type: text
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
limesurvey:
|
||||
image: martialblog/limesurvey:6.6.5-240924-apache
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8080
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${LIMESURVEY_ROOT_PATH}/surveys:/var/www/html/upload/surveys
|
||||
environment:
|
||||
- LISTEN_PORT=8080
|
||||
- PUBLIC_URL=foobar.com
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.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,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
# 问卷星
|
||||
|
||||
网络上最受欢迎的开源在线调查工具
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## 简介
|
||||
|
||||
Limesurvey 是排名第一的开源调查软件。
|
||||
|
||||
高级功能如分支和多种问题类型使其成为问卷创建的宝贵合作伙伴。
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
|
@ -0,0 +1,15 @@
|
|||
additionalProperties:
|
||||
key: limesurvey
|
||||
name: 问卷星
|
||||
tags:
|
||||
- WebSite
|
||||
- Middleware
|
||||
- Local
|
||||
shortDescZh: 在线问卷调查程序
|
||||
shortDescEn: Online survey software
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://www.limesurvey.org/
|
||||
github: https://github.com/LimeSurvey/LimeSurvey/
|
||||
document: https://www.limesurvey.org/manual/LimeSurvey_Manual/
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
Loading…
Reference in New Issue