mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-13 09:26:57 +08:00
feat: 应用商店支持 typecho (#93)
This commit is contained in:
parent
191b466568
commit
74fae04c76
30
apps/typecho/README.md
Normal file
30
apps/typecho/README.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
Typecho Blogging Platform
|
||||||
|
=========================
|
||||||
|
|
||||||
|
Typecho is a PHP-based blog software and is designed to be the most powerful blog engine in the world.
|
||||||
|
Typecho is released under the GNU General Public License 2.0.
|
||||||
|
|
||||||
|
## Main Features
|
||||||
|
|
||||||
|
* Multiple databases support (MySQL, SQLite, PostgreSQL)
|
||||||
|
* Markdown Support
|
||||||
|
* Plugin Support
|
||||||
|
* Theme Support
|
||||||
|
* Custom Fields
|
||||||
|
* Custom Pages
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
* PHP 7.2.0 or higher
|
||||||
|
* Database (MySQL, SQLite, PostgreSQL)
|
||||||
|
* MySQL 5.5.3 or higher
|
||||||
|
* SQLite 3.7.11 or higher
|
||||||
|
* PostgreSQL 9.1 or higher
|
||||||
|
|
||||||
|
## Screenshots
|
||||||
|
|
||||||
|
![Typecho](https://typecho.org/usr/themes/bluecode/img/screenshot/st1.png)
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
|
20
apps/typecho/data.yml
Executable file
20
apps/typecho/data.yml
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
name: typecho
|
||||||
|
tags:
|
||||||
|
- 建站
|
||||||
|
title: 一款基于 PHP 的博客软件
|
||||||
|
type: 建站
|
||||||
|
description: 一款基于 PHP 的博客软件
|
||||||
|
additionalProperties:
|
||||||
|
key: typecho
|
||||||
|
name: typecho
|
||||||
|
tags:
|
||||||
|
- WebSite
|
||||||
|
shortDescZh: 一款基于 PHP 的博客软件
|
||||||
|
shortDescEn: A PHP-based blog software
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 2
|
||||||
|
website: https://typecho.org/
|
||||||
|
github: https://github.com/typecho/typecho
|
||||||
|
document: https://docs.typecho.org/doku.php
|
BIN
apps/typecho/logo.png
Normal file
BIN
apps/typecho/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
69
apps/typecho/nightly-php7.4-apache/data.yml
Executable file
69
apps/typecho/nightly-php7.4-apache/data.yml
Executable file
@ -0,0 +1,69 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: ""
|
||||||
|
envKey: PANEL_DB_HOST
|
||||||
|
key: mysql
|
||||||
|
labelEn: Database Service
|
||||||
|
labelZh: 数据库服务
|
||||||
|
required: true
|
||||||
|
type: service
|
||||||
|
- default: typecho
|
||||||
|
envKey: PANEL_DB_NAME
|
||||||
|
labelEn: Database
|
||||||
|
labelZh: 数据库名
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: typecho
|
||||||
|
envKey: PANEL_DB_USER
|
||||||
|
labelEn: Database User
|
||||||
|
labelZh: 数据库用户
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: typecho
|
||||||
|
envKey: PANEL_DB_USER_PASSWORD
|
||||||
|
labelEn: Database User Password
|
||||||
|
labelZh: 数据库用户密码
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
- default: typecho
|
||||||
|
disabled: true
|
||||||
|
envKey: TYPECHO_USER_NAME
|
||||||
|
labelEn: User
|
||||||
|
labelZh: 管理员
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: typecho
|
||||||
|
disabled: true
|
||||||
|
envKey: TYPECHO_USER_PASSWORD
|
||||||
|
labelEn: Password
|
||||||
|
labelZh: 管理员默认密码
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: 8080
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Port
|
||||||
|
labelZh: 端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: typecho@typecho.com
|
||||||
|
edit: true
|
||||||
|
envKey: TYPECHO_USER_MAIL
|
||||||
|
labelEn: User Email
|
||||||
|
labelZh: 用户邮箱
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: http://localhost:8080
|
||||||
|
edit: true
|
||||||
|
envKey: TYPECHO_EXTERNAL_URL
|
||||||
|
labelEn: External URL
|
||||||
|
labelZh: 外部访问地址
|
||||||
|
required: true
|
||||||
|
rule: paramExtUrl
|
||||||
|
type: text
|
30
apps/typecho/nightly-php7.4-apache/docker-compose.yml
Normal file
30
apps/typecho/nightly-php7.4-apache/docker-compose.yml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
typecho:
|
||||||
|
image: joyqi/typecho:nightly-php7.4-apache
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- TYPECHO_INSTALL=1
|
||||||
|
- TYPECHO_DB_ADAPTER=Pdo_Mysql
|
||||||
|
- TYPECHO_DB_HOST=${PANEL_DB_HOST}
|
||||||
|
- TYPECHO_DB_DATABASE=${PANEL_DB_NAME}
|
||||||
|
- TYPECHO_DB_PORT=3306
|
||||||
|
- TYPECHO_DB_USER=${PANEL_DB_USER}
|
||||||
|
- TYPECHO_DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
||||||
|
- TYPECHO_USER_NAME=${TYPECHO_USER}
|
||||||
|
- TYPECHO_USER_PASSWORD=${TYPECHO_USER_PASSWORD}
|
||||||
|
- TYPECHO_USER_MAIL=${TYPECHO_USER_MAIL}
|
||||||
|
- TYPECHO_SITE_URL=${TYPECHO_EXTERNAL_URL}
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:80
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
volumes:
|
||||||
|
- ./data:/app
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
Loading…
Reference in New Issue
Block a user