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