mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-24 20:07:41 +08:00
Merge branch 'pr-1624' into localApps
This commit is contained in:
commit
da32307cca
82
apps/icat_lite/1.1/data.yml
Normal file
82
apps/icat_lite/1.1/data.yml
Normal file
@ -0,0 +1,82 @@
|
||||
additionalProperties: #固定参数
|
||||
formFields:
|
||||
- default: ""
|
||||
envKey: PANEL_DB_HOST #docker-compose 文件中的参数
|
||||
key: postgres #依赖应用的 key , 例如 mysql
|
||||
labelEn: Database Service #英文的label
|
||||
labelZh: 数据库服务 #中文的label
|
||||
required: true #是否必填
|
||||
type: service #如果需要依赖其他应用,例如数据库,使用此 type
|
||||
|
||||
- default: 5432
|
||||
envKey: ICAT_DB_PORT
|
||||
labelEn: Database port
|
||||
labelZh: 数据库端口
|
||||
random: false #是否在 default 文字后面,增加随机字符串
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number #端口使用此 type
|
||||
|
||||
|
||||
- default: ""
|
||||
envKey: ICAT_DB_HOST
|
||||
labelEn: Database host
|
||||
labelZh: 数据库连接主机(地址),在数据库信息里可以查询到
|
||||
random: false #是否在 default 文字后面,增加随机字符串
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
|
||||
- default: icat_lite
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
labelZh: 数据库名
|
||||
random: true #是否在 default 文字后面,增加随机字符串
|
||||
required: true
|
||||
rule: paramCommon #校验规则
|
||||
type: text #需要手动填写的,使用此 type
|
||||
|
||||
- default: icat_lite
|
||||
envKey: PANEL_DB_USER
|
||||
labelEn: User
|
||||
labelZh: 数据库用户
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
|
||||
- default: "icat_bbs"
|
||||
envKey: PANEL_DB_USER_PASSWORD
|
||||
labelEn: Password
|
||||
labelZh: 数据库用户密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramComplexity
|
||||
type: password #密码字段使用此 type
|
||||
|
||||
- default: 8095
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number #端口使用此 type
|
||||
|
||||
- default: "用于加密的密码的密钥,请务必替换成随机字符并重点保存,丢失将永久无法登录"
|
||||
envKey: ICAT_PWDKEY
|
||||
labelEn: PasswordKey
|
||||
labelZh: 密钥(Key)
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
|
||||
- default: "这里是加密登录状态的密码,随机字符,至少32位,这个不用保存,每次可以不一样"
|
||||
envKey: ICAT_COOKIEPWD
|
||||
labelEn: CookiePassword
|
||||
labelZh: 登录状态加密密码
|
||||
random: true
|
||||
required: true
|
||||
rule: paramCommon
|
||||
type: text
|
||||
22
apps/icat_lite/1.1/docker-compose.yml
Normal file
22
apps/icat_lite/1.1/docker-compose.yml
Normal file
@ -0,0 +1,22 @@
|
||||
version: "3"
|
||||
services:
|
||||
icat_lite:
|
||||
image: bluesdo/icat_lite_public:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: on-failure
|
||||
networks:
|
||||
- 1panel-network
|
||||
volumes:
|
||||
- ./icat_lite/data:/icat_lite/www/data
|
||||
- ./icat_lite/system:/icat_lite/www/public/statics/system
|
||||
- ./icat_lite/systemBlock:/icat_lite/www/public/statics/systemBlock
|
||||
- ./icat_lite/sticker:/icat_lite/www/public/statics/sticker
|
||||
- ./icat_lite/certs:/icat_lite/certs
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8095
|
||||
command: "serve.js --host 0.0.0.0 --port 8095 --dbHost ${ICAT_DB_HOST} --dbPort ${ICAT_DB_PORT} --dbName ${PANEL_DB_NAME} --dbUser ${PANEL_DB_USER} --dbPassword ${PANEL_DB_USER_PASSWORD} --pwdKey ${ICAT_PWDKEY} --cookiePwd ${ICAT_COOKIEPWD} --alterAll"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
3
apps/icat_lite/README.md
Normal file
3
apps/icat_lite/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
1. 上传并解压文件到1panel的目录:/opt/1panel/resource/apps/local
|
||||
2. 点击应用商店->更新应用列表->勾选显示本地应用->菜单选择【更多】-【本地】
|
||||
3. 安装应用
|
||||
13
apps/icat_lite/data.yml
Normal file
13
apps/icat_lite/data.yml
Normal file
@ -0,0 +1,13 @@
|
||||
additionalProperties:
|
||||
key: icat_lite #应用的 key ,仅限英文,用于在 Linux 创建文件夹
|
||||
name: 喵空间社区程序Lite版 #应用名称
|
||||
tags:
|
||||
- 建站 #应用标签,可以有多个,请参照下方的标签列表
|
||||
shortDescZh: 不太可爱(*╹▽╹*)的社区程序 #应用中文描述,不要超过30个字
|
||||
shortDescEn: a mini bbs/forum/talk communicaty program. #应用英文描述
|
||||
type: website #应用类型,区别于应用分类,只能有一个,请参照下方的类型列表
|
||||
crossVersionUpdate: true #是否可以跨大版本升级
|
||||
limit: 0 #应用安装数量限制,0 代表无限制
|
||||
website: https://miao.o-o.zone #官网地址
|
||||
github: https://github.com/0ui0/icat_lite_public.git #github 地址
|
||||
document: https://github.com/0ui0/icat_lite_public.git #文档地址
|
||||
BIN
apps/icat_lite/logo.png
Normal file
BIN
apps/icat_lite/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue
Block a user