Processed apps directory via GitHub Actions

This commit is contained in:
QYG2297248353
2024-11-28 09:57:19 +00:00
parent 373a561487
commit 275d5be658
1857 changed files with 56700 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
# 数据持久化路径 [必填]
PERCONA_ROOT_PATH=/home/percona
# 连接端口 [必填]
PANEL_APP_PORT_HTTP=3306
# 管理员密码 [必填]
MYSQL_ROOT_PASSWORD=
+19
View File
@@ -0,0 +1,19 @@
[mysqld]
skip-host-cache
skip-name-resolve
datadir=/var/lib/mysql
socket=/var/run/mysqld/mysqld.sock
secure-file-priv=/var/lib/mysql-files
user=mysql
log_error_suppression_list='MY-013360'
character_set_server=utf8
lower_case_table_names=1
group_concat_max_len=1024000
log_bin_trust_function_creators=1
pid-file=/var/run/mysqld/mysqld.pid
[client]
socket=/var/run/mysqld/mysqld.sock
!includedir /etc/mysql/conf.d/
+24
View File
@@ -0,0 +1,24 @@
additionalProperties:
formFields:
- default: "/home/percona"
edit: true
envKey: PERCONA_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 3306
envKey: PANEL_APP_PORT_HTTP
labelZh: 连接端口
labelEn: Connection Port
required: true
rule: paramPort
type: number
- default: ""
envKey: MYSQL_ROOT_PASSWORD
labelZh: 管理员密码
labelEn: Admin Password
random: true
required: true
rule: paramComplexity
type: password
+26
View File
@@ -0,0 +1,26 @@
networks:
1panel-network:
external: true
services:
percona:
command:
- --default-authentication-plugin=mysql_native_password
container_name: percona
env_file:
- ./envs/global.env
- .env
image: percona:8.0
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3306
restart: always
user: ${UID:-1000}:${GID:-1000}
volumes:
- ${PERCONA_ROOT_PATH}/data:/var/lib/mysql
- ${PERCONA_ROOT_PATH}/config/my.cnf:/etc/my.cnf
- ${PERCONA_ROOT_PATH}/log:/var/log/mysql
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
ENV_FILE=.env
+2
View File
@@ -0,0 +1,2 @@
# copyright© 2024 XinJiang Ms Studio
TZ=Asia/Shanghai
+26
View File
@@ -0,0 +1,26 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
mkdir -p "$PERCONA_ROOT_PATH"
mkdir -p "$PERCONA_ROOT_PATH/config"
mkdir -p "$PERCONA_ROOT_PATH/data"
mkdir -p "$PERCONA_ROOT_PATH/log"
cp ./config/my.cnf "$PERCONA_ROOT_PATH/config/my.cnf"
chown -R 1000:1000 "$PERCONA_ROOT_PATH"
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
if [ -f .env ]; then
source .env
# setup-1 add default values
CURRENT_DIR=$(pwd)
sed -i '/^ENV_FILE=/d' .env
sed -i '/^GLOBAL_ENV_FILE=/d' .env
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+18
View File
@@ -0,0 +1,18 @@
# Percona
Percona Server for MySQL
![Percona](https://file.lifebus.top/imgs/percona_logo.jpg)
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
## 简介
Percona Server for MySQL 是任何 MySQL 数据库的免费、完全兼容、增强且开源的直接替代品。它提供卓越的性能、可扩展性和仪器。
Percona Server for MySQL 受到数千家企业的信赖,可以为其最苛刻的工作负载提供更好的性能和并发性。
它通过优化的性能、更高的性能可扩展性和可用性、增强的备份以及更高的可见性为 MySQL 服务器用户提供更高的价值。
---
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
+14
View File
@@ -0,0 +1,14 @@
additionalProperties:
key: percona
name: Percona
tags:
- Database
- Local
shortDescZh: 关系型数据库
shortDescEn: Open source relational database management system
type: runtime
crossVersionUpdate: true
limit: 0
website: https://www.percona.com/
github: https://github.com/percona/percona-server/
document: https://www.percona.com/mysql/software/percona-server-for-mysql/
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB