mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-13 21:02:18 +08:00
feat:调整perfree-blog
This commit is contained in:
parent
22f420b1da
commit
c2d8af4712
@ -1,41 +0,0 @@
|
|||||||
additionalProperties:
|
|
||||||
formFields:
|
|
||||||
- default: ""
|
|
||||||
envKey: PANEL_DB_HOST
|
|
||||||
key: mysql
|
|
||||||
labelEn: mysql Database Service
|
|
||||||
labelZh: mysql数据库服务
|
|
||||||
required: true
|
|
||||||
type: service
|
|
||||||
- default: perfree
|
|
||||||
envKey: PANEL_DB_NAME
|
|
||||||
labelEn: Database name
|
|
||||||
labelZh: 数据库名
|
|
||||||
random: true
|
|
||||||
required: true
|
|
||||||
rule: paramCommon
|
|
||||||
type: text
|
|
||||||
- default: perfree
|
|
||||||
envKey: PANEL_DB_USER
|
|
||||||
labelEn: Database username
|
|
||||||
labelZh: 数据库用户
|
|
||||||
random: true
|
|
||||||
required: true
|
|
||||||
rule: paramCommon
|
|
||||||
type: text
|
|
||||||
- default: perfree
|
|
||||||
envKey: PANEL_DB_USER_PASSWORD
|
|
||||||
labelEn: Database password
|
|
||||||
labelZh: 数据库用户密码
|
|
||||||
random: true
|
|
||||||
required: true
|
|
||||||
rule: paramComplexity
|
|
||||||
type: password
|
|
||||||
- default: 8081
|
|
||||||
edit: true
|
|
||||||
envKey: PANEL_APP_PORT_HTTP
|
|
||||||
labelEn: Port
|
|
||||||
labelZh: 端口
|
|
||||||
required: true
|
|
||||||
rule: paramPort
|
|
||||||
type: number
|
|
@ -1,20 +0,0 @@
|
|||||||
services:
|
|
||||||
PerfreeBlog:
|
|
||||||
image: registry.cn-hangzhou.aliyuncs.com/perfree/perfree_blog:v4.0.11
|
|
||||||
container_name: ${CONTAINER_NAME}
|
|
||||||
restart: always
|
|
||||||
networks:
|
|
||||||
- 1panel-network
|
|
||||||
ports:
|
|
||||||
- ${PANEL_APP_PORT_HTTP}:8080
|
|
||||||
environment:
|
|
||||||
SPRING_DATASOURCE_URL: jdbc:mysql://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
|
||||||
SPRING_DATASOURCE_USERNAME: ${PANEL_DB_USER}
|
|
||||||
SPRING_DATASOURCE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
|
||||||
labels:
|
|
||||||
createdBy: "Apps"
|
|
||||||
volumes:
|
|
||||||
- ./data:/perfree-server/resources
|
|
||||||
networks:
|
|
||||||
1panel-network:
|
|
||||||
external: true
|
|
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
10
apps/perfree-blog/4.0.11/.env.sample
Normal file
10
apps/perfree-blog/4.0.11/.env.sample
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
CONTAINER_NAME="perfree-blog"
|
||||||
|
DATA_PATH="./data"
|
||||||
|
PANEL_APP_PORT_HTTP=40337
|
||||||
|
PANEL_DB_HOST="mysql"
|
||||||
|
PANEL_DB_HOST_NAME="mysql"
|
||||||
|
PANEL_DB_NAME="perfree"
|
||||||
|
PANEL_DB_PORT=3306
|
||||||
|
PANEL_DB_TYPE="mysql"
|
||||||
|
PANEL_DB_USER="perfree"
|
||||||
|
PANEL_DB_USER_PASSWORD="perfree"
|
57
apps/perfree-blog/4.0.11/data.yml
Normal file
57
apps/perfree-blog/4.0.11/data.yml
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- child:
|
||||||
|
default: ""
|
||||||
|
envKey: PANEL_DB_HOST
|
||||||
|
required: true
|
||||||
|
type: service
|
||||||
|
default: mysql
|
||||||
|
envKey: PANEL_DB_TYPE
|
||||||
|
labelEn: Database Service
|
||||||
|
labelZh: 数据库服务
|
||||||
|
required: true
|
||||||
|
type: apps
|
||||||
|
values:
|
||||||
|
- label: MySQL
|
||||||
|
value: mysql
|
||||||
|
- label: LocalMySQL
|
||||||
|
value: localmysql
|
||||||
|
- default: "perfree"
|
||||||
|
envKey: PANEL_DB_NAME
|
||||||
|
labelEn: Database
|
||||||
|
labelZh: 数据库名
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: "perfree"
|
||||||
|
envKey: PANEL_DB_USER
|
||||||
|
labelEn: User
|
||||||
|
labelZh: 数据库用户
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: "perfree"
|
||||||
|
envKey: PANEL_DB_USER_PASSWORD
|
||||||
|
labelEn: Password
|
||||||
|
labelZh: 数据库用户密码
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
- default: "40337"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "./data"
|
||||||
|
edit: true
|
||||||
|
envKey: DATA_PATH
|
||||||
|
labelEn: Data Path
|
||||||
|
labelZh: 数据路径
|
||||||
|
required: true
|
||||||
|
type: text
|
20
apps/perfree-blog/4.0.11/docker-compose.yml
Normal file
20
apps/perfree-blog/4.0.11/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
services:
|
||||||
|
perfree-blog:
|
||||||
|
image: "registry.cn-hangzhou.aliyuncs.com/perfree/perfree_blog:v4.0.11"
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8080
|
||||||
|
volumes:
|
||||||
|
- "${DATA_PATH}:/perfree-server/resources"
|
||||||
|
environment:
|
||||||
|
SPRING_DATASOURCE_URL: jdbc:${PANEL_DB_TYPE}://${PANEL_DB_HOST}:${PANEL_DB_PORT}/${PANEL_DB_NAME}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true
|
||||||
|
SPRING_DATASOURCE_USERNAME: ${PANEL_DB_USER}
|
||||||
|
SPRING_DATASOURCE_PASSWORD: ${PANEL_DB_USER_PASSWORD}
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
@ -1,19 +1,19 @@
|
|||||||
name: PerfreeBlog
|
name: PerfreeBlog
|
||||||
tags:
|
tags:
|
||||||
- 建站
|
- 建站
|
||||||
title: 开源的博客/CMS建站工具
|
title: 开源的博客/CMS 建站工具
|
||||||
description: 一款Java开发的博客/CMS系统, 支持主题及扩展插件功能
|
description: 开源的博客/CMS 建站工具
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
key: PerfreeBlog
|
key: perfree-blog
|
||||||
name: PerfreeBlog
|
name: PerfreeBlog
|
||||||
tags:
|
tags:
|
||||||
- Website
|
- Website
|
||||||
shortDescZh: 开源的博客/CMS建站工具
|
shortDescZh: 开源的博客/CMS 建站工具
|
||||||
shortDescEn: open source blog/CMS website builder
|
shortDescEn: open source blog/CMS website builder
|
||||||
type: website
|
type: website
|
||||||
crossVersionUpdate: true
|
crossVersionUpdate: true
|
||||||
limit: 0
|
limit: 0
|
||||||
recommend: 10
|
recommend: 0
|
||||||
website: https://perfree.org.cn/
|
website: https://perfree.org.cn/
|
||||||
github: https://github.com/PerfreeBlog/PerfreeBlog
|
github: https://github.com/PerfreeBlog/PerfreeBlog
|
||||||
document: https://perfree.org.cn/useDocs/
|
document: https://perfree.org.cn/useDocs/
|
BIN
apps/perfree-blog/logo.png
Normal file
BIN
apps/perfree-blog/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.0 KiB |
Loading…
Reference in New Issue
Block a user