mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-12 01:56:43 -05:00
Add Typecho template (#165)
* Add Typecho template * Resolve the Docker Compose error issue
This commit is contained in:
27
blueprints/typecho/docker-compose.yml
Normal file
27
blueprints/typecho/docker-compose.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
typecho:
|
||||
image: 80x86/typecho:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PHP_TZ: Asia/Shanghai
|
||||
PHP_MAX_EXECUTION_TIME: 600
|
||||
volumes:
|
||||
- typecho_data:/data
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: mysql:5.7
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
MYSQL_DATABASE: typecho
|
||||
MYSQL_USER: typecho
|
||||
MYSQL_PASSWORD: typecho_password
|
||||
MYSQL_ROOT_PASSWORD: root_password
|
||||
volumes:
|
||||
- db_data:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
typecho_data:
|
||||
db_data:
|
||||
13
blueprints/typecho/template.toml
Normal file
13
blueprints/typecho/template.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
db_password = "${password:16}"
|
||||
root_password = "${password:16}"
|
||||
|
||||
[config]
|
||||
env = {}
|
||||
mounts = []
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "typecho"
|
||||
port = 80
|
||||
host = "${main_domain}"
|
||||
BIN
blueprints/typecho/typecho.png
Normal file
BIN
blueprints/typecho/typecho.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
17
meta.json
17
meta.json
@@ -625,6 +625,23 @@
|
||||
},
|
||||
"tags": ["chatbot", "builder", "open-source"]
|
||||
},
|
||||
{
|
||||
"id": "typecho",
|
||||
"name": "Typecho",
|
||||
"version": "stable",
|
||||
"description": "Typecho 是一个轻量级的开源博客程序,基于 PHP 开发,支持多种数据库,简洁而强大。",
|
||||
"logo": "typecho.png",
|
||||
"links": {
|
||||
"github": "https://github.com/typecho/typecho",
|
||||
"website": "https://typecho.org/",
|
||||
"docs": "http://docs.typecho.org"
|
||||
},
|
||||
"tags": [
|
||||
"blog",
|
||||
"cms",
|
||||
"php"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "gitea",
|
||||
"name": "Gitea",
|
||||
|
||||
Reference in New Issue
Block a user