From 57c5ce56fff6a7ad2e97574c90e5c98c65c7b0a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 16 Jan 2026 23:35:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E5=BA=94=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mariadb/docker-compose.yml | 9 ++++++++ mysql/docker-compose.yml | 6 ++++++ nginx/data.yml | 29 +++++++++++++++++++++++++ nginx/docker-compose.yml | 17 +++++++++++++++ nginx/logo.svg | 1 + openlitespeed/data.yml | 36 ++++++++++++++++++++++++++++++++ openlitespeed/docker-compose.yml | 19 +++++++++++++++++ openlitespeed/logo.svg | 35 +++++++++++++++++++++++++++++++ percona/data.yml | 29 +++++++++++++++++++++++++ percona/docker-compose.yml | 28 +++++++++++++++++++++++++ percona/logo.svg | 1 + phpmyadmin/data.yml | 22 +++++++++++++++++++ phpmyadmin/docker-compose.yml | 14 +++++++++++++ phpmyadmin/logo.svg | 1 + 14 files changed, 247 insertions(+) create mode 100644 nginx/data.yml create mode 100644 nginx/docker-compose.yml create mode 100644 nginx/logo.svg create mode 100644 openlitespeed/data.yml create mode 100644 openlitespeed/docker-compose.yml create mode 100755 openlitespeed/logo.svg create mode 100644 percona/data.yml create mode 100644 percona/docker-compose.yml create mode 100644 percona/logo.svg create mode 100644 phpmyadmin/data.yml create mode 100644 phpmyadmin/docker-compose.yml create mode 100644 phpmyadmin/logo.svg diff --git a/mariadb/docker-compose.yml b/mariadb/docker-compose.yml index 56c9989..83af614 100644 --- a/mariadb/docker-compose.yml +++ b/mariadb/docker-compose.yml @@ -9,8 +9,17 @@ services: volumes: - ./db/data:/var/lib/mysql - ./conf/my.cnf:/etc/mysql/my.cnf + - ./log:/var/log/mysql + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro environment: MYSQL_ROOT_PASSWORD: ${MARIADB_DB_ROOT_PASSWORD} + healthcheck: + test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"] + start_period: 20s + interval: 30s + retries: 5 + timeout: 5s networks: acepanel-network: diff --git a/mysql/docker-compose.yml b/mysql/docker-compose.yml index b8ba319..3ebf8af 100644 --- a/mysql/docker-compose.yml +++ b/mysql/docker-compose.yml @@ -14,6 +14,12 @@ services: - ./log:/var/log/mysql - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro + healthcheck: + test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "-p${PERCONA_ROOT_PASSWORD}"] + start_period: 20s + interval: 30s + retries: 5 + timeout: 5s networks: acepanel-network: diff --git a/nginx/data.yml b/nginx/data.yml new file mode 100644 index 0000000..9563924 --- /dev/null +++ b/nginx/data.yml @@ -0,0 +1,29 @@ +name: + en: Nginx + zh_CN: Nginx + zh_TW: Nginx +categories: + - web +description: + en: High-performance HTTP server and reverse proxy + zh_CN: 高性能 HTTP 服务器和反向代理 + zh_TW: 高效能 HTTP 伺服器和反向代理 +website: https://nginx.org/ +architectures: + - amd64 + - arm64 +environments: + NGINX_PORT_HTTP: + description: + en: HTTP Port + zh_CN: HTTP 端口 + zh_TW: HTTP 埠 + type: port + default: 80 + NGINX_PORT_HTTPS: + description: + en: HTTPS Port + zh_CN: HTTPS 端口 + zh_TW: HTTPS 埠 + type: port + default: 443 diff --git a/nginx/docker-compose.yml b/nginx/docker-compose.yml new file mode 100644 index 0000000..02c2078 --- /dev/null +++ b/nginx/docker-compose.yml @@ -0,0 +1,17 @@ +services: + nginx: + image: nginx:1.29.4-alpine + restart: always + ports: + - ${NGINX_PORT_HTTP}:80 + - ${NGINX_PORT_HTTPS}:443 + volumes: + - ./html:/usr/share/nginx/html + - ./conf.d:/etc/nginx/conf.d + - ./certs:/etc/nginx/certs + networks: + - acepanel-network + +networks: + acepanel-network: + external: true diff --git a/nginx/logo.svg b/nginx/logo.svg new file mode 100644 index 0000000..d218a5b --- /dev/null +++ b/nginx/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/openlitespeed/data.yml b/openlitespeed/data.yml new file mode 100644 index 0000000..95d2b31 --- /dev/null +++ b/openlitespeed/data.yml @@ -0,0 +1,36 @@ +name: + en: OpenLiteSpeed + zh_CN: OpenLiteSpeed + zh_TW: OpenLiteSpeed +categories: + - web +description: + en: High-performance open source web server with LiteSpeed Cache support + zh_CN: 高性能开源 Web 服务器,支持 LiteSpeed Cache + zh_TW: 高效能開源 Web 伺服器,支援 LiteSpeed Cache +website: https://openlitespeed.org/ +architectures: + - amd64 + - arm64 +environments: + OPENLITESPEED_PORT_HTTP: + description: + en: HTTP Port + zh_CN: HTTP 端口 + zh_TW: HTTP 埠 + type: port + default: 80 + OPENLITESPEED_PORT_HTTPS: + description: + en: HTTPS Port + zh_CN: HTTPS 端口 + zh_TW: HTTPS 埠 + type: port + default: 443 + OPENLITESPEED_PORT_ADMIN: + description: + en: Admin Panel Port + zh_CN: 管理面板端口 + zh_TW: 管理面板埠 + type: port + default: 7080 diff --git a/openlitespeed/docker-compose.yml b/openlitespeed/docker-compose.yml new file mode 100644 index 0000000..52acca1 --- /dev/null +++ b/openlitespeed/docker-compose.yml @@ -0,0 +1,19 @@ +services: + openlitespeed: + image: litespeedtech/openlitespeed:latest + restart: always + ports: + - ${OPENLITESPEED_PORT_HTTP}:80 + - ${OPENLITESPEED_PORT_HTTPS}:443 + - ${OPENLITESPEED_PORT_ADMIN}:7080 + volumes: + - ./lsws/conf:/usr/local/lsws/conf + - ./lsws/admin-conf:/usr/local/lsws/admin/conf + - ./sites:/var/www/vhosts + - ./logs:/usr/local/lsws/logs + networks: + - acepanel-network + +networks: + acepanel-network: + external: true diff --git a/openlitespeed/logo.svg b/openlitespeed/logo.svg new file mode 100755 index 0000000..dc94d8d --- /dev/null +++ b/openlitespeed/logo.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + diff --git a/percona/data.yml b/percona/data.yml new file mode 100644 index 0000000..891424a --- /dev/null +++ b/percona/data.yml @@ -0,0 +1,29 @@ +name: + en: Percona Server + zh_CN: Percona Server + zh_TW: Percona Server +categories: + - database +description: + en: Enhanced MySQL-compatible database with improved performance and features + zh_CN: 增强型 MySQL 兼容数据库,具有更好的性能和功能 + zh_TW: 增強型 MySQL 相容資料庫,具有更好的效能和功能 +website: https://www.percona.com/mysql/software/percona-server-for-mysql +architectures: + - amd64 + - arm64 +environments: + PERCONA_ROOT_PASSWORD: + description: + en: Root Password + zh_CN: Root 密码 + zh_TW: Root 密碼 + type: password + default: "" + PERCONA_PORT: + description: + en: Port + zh_CN: 端口 + zh_TW: 埠 + type: port + default: 3306 diff --git a/percona/docker-compose.yml b/percona/docker-compose.yml new file mode 100644 index 0000000..e5f60db --- /dev/null +++ b/percona/docker-compose.yml @@ -0,0 +1,28 @@ +services: + percona: + image: percona:8.4 + restart: always + environment: + - INIT_ROCKSDB=1 + - PERCONA_TELEMETRY_DISABLE=1 + - MYSQL_ROOT_PASSWORD=${PERCONA_ROOT_PASSWORD} + ports: + - ${PERCONA_PORT}:3306 + volumes: + - ./data/:/var/lib/mysql + - ./conf/my.cnf:/etc/my.cnf + - ./log:/var/log/mysql + - /etc/timezone:/etc/timezone:ro + - /etc/localtime:/etc/localtime:ro + healthcheck: + test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "-u", "root", "-p${PERCONA_ROOT_PASSWORD}"] + start_period: 20s + interval: 30s + retries: 5 + timeout: 5s + networks: + - acepanel-network + +networks: + acepanel-network: + external: true diff --git a/percona/logo.svg b/percona/logo.svg new file mode 100644 index 0000000..3334395 --- /dev/null +++ b/percona/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/phpmyadmin/data.yml b/phpmyadmin/data.yml new file mode 100644 index 0000000..1b9b179 --- /dev/null +++ b/phpmyadmin/data.yml @@ -0,0 +1,22 @@ +name: + en: phpMyAdmin + zh_CN: phpMyAdmin + zh_TW: phpMyAdmin +categories: + - tool +description: + en: Web-based MySQL database management tool + zh_CN: 基于 Web 的 MySQL 数据库管理工具 + zh_TW: 基於 Web 的 MySQL 資料庫管理工具 +website: https://www.phpmyadmin.net/ +architectures: + - amd64 + - arm64 +environments: + PHPMYADMIN_PORT: + description: + en: The port on which phpMyAdmin will be accessible. + zh_CN: phpMyAdmin 可访问的端口。 + zh_TW: phpMyAdmin 可訪問的端口。 + type: port + default: 8080 \ No newline at end of file diff --git a/phpmyadmin/docker-compose.yml b/phpmyadmin/docker-compose.yml new file mode 100644 index 0000000..0478904 --- /dev/null +++ b/phpmyadmin/docker-compose.yml @@ -0,0 +1,14 @@ +services: + phpmyadmin: + image: phpmyadmin:5.2.3-alpine + restart: always + ports: + - ${PHPMYADMIN_PORT}:80 + environment: + - HIDE_PHP_VERSION=true + - PMA_ARBITRARY=1 + networks: + - acepanel-network +networks: + acepanel-network: + external: true \ No newline at end of file diff --git a/phpmyadmin/logo.svg b/phpmyadmin/logo.svg new file mode 100644 index 0000000..5f6030e --- /dev/null +++ b/phpmyadmin/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file