mirror of
https://github.com/acepanel/templates.git
synced 2026-02-04 05:07:13 +08:00
feat: add wordpress
This commit is contained in:
50
wordpress/data.yml
Normal file
50
wordpress/data.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
name:
|
||||
en: WordPress
|
||||
zh_CN: WordPress
|
||||
zh_TW: WordPress
|
||||
categories:
|
||||
- web
|
||||
description:
|
||||
en: Open source content management system for blogs and websites
|
||||
zh_CN: 开源内容管理系统,用于博客和网站建设
|
||||
zh_TW: 開源內容管理系統,用於部落格和網站建設
|
||||
website: https://wordpress.org/
|
||||
architectures:
|
||||
- amd64
|
||||
- arm64
|
||||
environments:
|
||||
WORDPRESS_PORT:
|
||||
description:
|
||||
en: Port
|
||||
zh_CN: 端口
|
||||
zh_TW: 埠
|
||||
type: port
|
||||
default: 8080
|
||||
WORDPRESS_DB_HOST:
|
||||
description:
|
||||
en: Database Host
|
||||
zh_CN: 数据库主机
|
||||
zh_TW: 資料庫主機
|
||||
type: string
|
||||
default: ""
|
||||
WORDPRESS_DB_NAME:
|
||||
description:
|
||||
en: Database Name
|
||||
zh_CN: 数据库名称
|
||||
zh_TW: 資料庫名稱
|
||||
type: string
|
||||
default: wordpress
|
||||
WORDPRESS_DB_USER:
|
||||
description:
|
||||
en: Database User
|
||||
zh_CN: 数据库用户
|
||||
zh_TW: 資料庫使用者
|
||||
type: string
|
||||
default: wordpress
|
||||
WORDPRESS_DB_PASSWORD:
|
||||
description:
|
||||
en: Database Password
|
||||
zh_CN: 数据库密码
|
||||
zh_TW: 資料庫密碼
|
||||
type: password
|
||||
default: ""
|
||||
26
wordpress/docker-compose.yml
Normal file
26
wordpress/docker-compose.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
wordpress:
|
||||
image: wordpress:6.9.0-php8.4
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- acepanel-network
|
||||
ports:
|
||||
- ${WORDPRESS_PORT}:80
|
||||
volumes:
|
||||
- ./html:/var/www/html
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
WORDPRESS_DB_HOST: ${WORDPRESS_DB_HOST}
|
||||
WORDPRESS_DB_NAME: ${WORDPRESS_DB_NAME}
|
||||
WORDPRESS_DB_USER: ${WORDPRESS_DB_USER}
|
||||
WORDPRESS_DB_PASSWORD: ${WORDPRESS_DB_PASSWORD}
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:80" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
networks:
|
||||
acepanel-network:
|
||||
external: true
|
||||
1
wordpress/logo.svg
Normal file
1
wordpress/logo.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="64" height="64" fill="#00749a"><path d="M2.26 16c0 5.45 3.13 10.145 7.7 12.348L3.478 10.435C2.725 12.174 2.26 14.03 2.26 16zm23.015-.696c0-1.68-.638-2.9-1.16-3.768-.696-1.16-1.333-2.087-1.333-3.246 0-1.275.986-2.435 2.32-2.435h.174C22.84 3.594 19.594 2.26 16 2.26A13.95 13.95 0 0 0 4.522 8.463h.87c1.45 0 3.652-.174 3.652-.174.754-.058.812 1.043.116 1.16 0 0-.754.116-1.565.116l4.986 14.84 3.014-8.986-2.145-5.855L12 9.45c-.754-.058-.638-1.16.058-1.16 0 0 2.26.174 3.594.174 1.45 0 3.652-.174 3.652-.174.754-.058.812 1.043.116 1.16 0 0-.754.116-1.565.116L22.84 24.35l1.4-4.58c.58-1.913 1.043-3.246 1.043-4.464zm-9.043 1.913L12.116 29.16c1.217.348 2.55.58 3.884.58 1.623 0 3.13-.3 4.58-.754-.058-.058-.058-.116-.116-.174zM28.058 9.45l.116 1.4c0 1.4-.232 2.957-1.043 4.928l-4.174 12.116c4.058-2.377 6.84-6.783 6.84-11.884-.058-2.377-.696-4.58-1.74-6.55zM16 0C7.188 0 0 7.188 0 16s7.188 16 16 16 16-7.188 16-16S24.812 0 16 0zm0 31.304C7.594 31.304.754 24.464.754 16A15.27 15.27 0 0 1 16 .754 15.27 15.27 0 0 1 31.246 16c0 8.464-6.84 15.304-15.246 15.304z"/></svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Reference in New Issue
Block a user