diff --git a/typecho/README.md b/typecho/README.md new file mode 100644 index 000000000..648508a57 --- /dev/null +++ b/typecho/README.md @@ -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. diff --git a/typecho/data.yml b/typecho/data.yml new file mode 100755 index 000000000..81d0a5390 --- /dev/null +++ b/typecho/data.yml @@ -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 diff --git a/typecho/logo.png b/typecho/logo.png new file mode 100644 index 000000000..72acb2b1e Binary files /dev/null and b/typecho/logo.png differ diff --git a/typecho/nightly-php7.4-apache/data.yml b/typecho/nightly-php7.4-apache/data.yml new file mode 100755 index 000000000..94b4e85f2 --- /dev/null +++ b/typecho/nightly-php7.4-apache/data.yml @@ -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 diff --git a/typecho/nightly-php7.4-apache/docker-compose.yml b/typecho/nightly-php7.4-apache/docker-compose.yml new file mode 100644 index 000000000..b83909c07 --- /dev/null +++ b/typecho/nightly-php7.4-apache/docker-compose.yml @@ -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 \ No newline at end of file