diff --git a/apps/chevereto/4.2.4/.env.sample b/apps/chevereto/4.2.4/.env.sample new file mode 100644 index 00000000..82dbbf41 --- /dev/null +++ b/apps/chevereto/4.2.4/.env.sample @@ -0,0 +1,17 @@ +CHEVERETO_HEADER_CLIENT_IP="X-Real-IP" +CHEVERETO_HOSTNAME="hostname.com" +CHEVERETO_HOSTNAME_PATH="/" +CHEVERETO_IMAGES_PATH="./data/images" +CHEVERETO_MAX_POST_SIZE="2G" +CHEVERETO_MAX_UPLOAD_SIZE="2G" +CHEVERETO_SERVICING="docker" +CONTAINER_NAME="chevereto" +ENCRYPTION_KEY="" +PANEL_APP_PORT_HTTP=40328 +PANEL_DB_HOST="mysql" +PANEL_DB_HOST_NAME="mysql" +PANEL_DB_NAME="chevereto" +PANEL_DB_PORT=3306 +PANEL_DB_TYPE="mysql" +PANEL_DB_USER="chevereto" +PANEL_DB_USER_PASSWORD="chevereto" diff --git a/apps/chevereto/4.2.4/data.yml b/apps/chevereto/4.2.4/data.yml new file mode 100644 index 00000000..54395f2d --- /dev/null +++ b/apps/chevereto/4.2.4/data.yml @@ -0,0 +1,104 @@ +additionalProperties: + formFields: + - child: + default: "" + envKey: PANEL_DB_HOST + required: true + type: service + default: mysql + envKey: PANEL_DB_TYPE + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: apps + values: + - label: MySQL + value: mysql + - default: "chevereto" + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + random: true + required: true + rule: paramCommon + type: text + - default: "chevereto" + envKey: PANEL_DB_USER + labelEn: User + labelZh: 数据库用户 + random: true + required: true + rule: paramCommon + type: text + - default: "chevereto" + envKey: PANEL_DB_USER_PASSWORD + labelEn: Password + labelZh: 数据库用户密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "40328" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: HTTP Port + labelZh: HTTP 端口 + required: true + rule: paramPort + type: number + - default: "2G" + edit: true + envKey: CHEVERETO_MAX_POST_SIZE + labelEn: Max Post Size + labelZh: 最大 POST 大小 + required: true + type: text + - default: "2G" + edit: true + envKey: CHEVERETO_MAX_UPLOAD_SIZE + labelEn: Max Upload Size + labelZh: 最大上传大小 + required: true + type: text + - default: "docker" + disabled: true + envKey: CHEVERETO_SERVICING + labelEn: Servicing + labelZh: 服务模式 + required: true + type: text + - default: "./data/images" + disabled: true + envKey: CHEVERETO_IMAGES_PATH + labelEn: Images Path + labelZh: 图片路径 + required: true + type: text + - default: "hostname.com" + edit: true + envKey: CHEVERETO_HOSTNAME + labelEn: Hostname + labelZh: 主机名 + required: true + type: text + - default: "/" + edit: true + envKey: CHEVERETO_HOSTNAME_PATH + labelEn: Hostname Path + labelZh: 主机名路径 + required: true + type: text + - default: "X-Real-IP" + edit: true + envKey: CHEVERETO_HEADER_CLIENT_IP + labelEn: Client IP Header + labelZh: 客户端 IP 标头 + required: true + type: text + - default: "" + edit: true + envKey: ENCRYPTION_KEY + labelEn: Encryption Key + labelZh: 加密密钥 + required: false + type: text diff --git a/apps/chevereto/4.2.4/data/images/.gitkeep b/apps/chevereto/4.2.4/data/images/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/chevereto/4.2.4/docker-compose.yml b/apps/chevereto/4.2.4/docker-compose.yml new file mode 100644 index 00000000..4bf86bed --- /dev/null +++ b/apps/chevereto/4.2.4/docker-compose.yml @@ -0,0 +1,32 @@ +services: + chevereto: + image: "chevereto/chevereto:4.2.4" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:80" + volumes: + - ${CHEVERETO_IMAGES_PATH}:/var/www/html/images/ + environment: + - VIRTUAL_HOST=${CHEVERETO_HOSTNAME} + - LETSENCRYPT_HOST=${CHEVERETO_HOSTNAME} + - CHEVERETO_DB_HOST=${PANEL_DB_HOST} + - CHEVERETO_DB_USER=${PANEL_DB_USER} + - CHEVERETO_DB_PASS=${PANEL_DB_USER_PASSWORD} + - CHEVERETO_DB_PORT=${PANEL_DB_PORT} + - CHEVERETO_DB_NAME=${PANEL_DB_NAME} + - CHEVERETO_HEADER_CLIENT_IP=${CHEVERETO_HEADER_CLIENT_IP} + - CHEVERETO_HOSTNAME=${CHEVERETO_HOSTNAME} + - CHEVERETO_HOSTNAME_PATH=${CHEVERETO_HOSTNAME_PATH} + - CHEVERETO_ENCRYPTION_KEY=${ENCRYPTION_KEY} + - CHEVERETO_MAX_POST_SIZE=${CHEVERETO_MAX_POST_SIZE} + - CHEVERETO_MAX_UPLOAD_SIZE=${CHEVERETO_MAX_UPLOAD_SIZE} + - CHEVERETO_SERVICING=${CHEVERETO_SERVICING} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/chevereto/4.2.4/scripts/init.sh b/apps/chevereto/4.2.4/scripts/init.sh new file mode 100644 index 00000000..e6226d6f --- /dev/null +++ b/apps/chevereto/4.2.4/scripts/init.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +chown -R www-data:www-data data \ No newline at end of file diff --git a/apps/chevereto/README.md b/apps/chevereto/README.md new file mode 100644 index 00000000..3a488606 --- /dev/null +++ b/apps/chevereto/README.md @@ -0,0 +1,13 @@ +# Chevereto: 终极图片和视频分享软件 + +Chevereto 是一款强大且自托管的媒体分享平台,注重灵活性和控制力。它使您能够在自己的服务器上建立和管理一个媒体分享网站,完全掌控您的托管环境和政策。通过使用 Chevereto,您可以避免平台限制和停机风险,确保您的网站完全按照您的需求运行。 + +### 主要特点: +- **自托管**:完全控制您的媒体平台,无需依赖第三方服务。 +- **灵活性**:支持图片、视频和其他媒体类型的上传和分享。 +- **无平台限制**:避免平台封禁或限制内容的风险。 +- **高性能**:优化的媒体处理和传输,保证流畅的用户体验。 +- **可定制性**:提供多种主题和插件,轻松定制您的站点功能。 +- **安全性**:支持多种安全功能,保护用户数据和内容的隐私。 + +Chevereto 适合需要完全控制内容和托管环境的用户,尤其是对资源和平台限制敏感的场景。 \ No newline at end of file diff --git a/apps/chevereto/data.yml b/apps/chevereto/data.yml new file mode 100644 index 00000000..bab98ee0 --- /dev/null +++ b/apps/chevereto/data.yml @@ -0,0 +1,19 @@ +name: Chevereto +tags: + - 建站 +title: 一个图像托管平台 +description: 一个图像托管平台 +additionalProperties: + key: chevereto + name: Chevereto + tags: + - Website + shortDescZh: 一个图像托管平台 + shortDescEn: An image hosting platform + type: website + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://chevereto.com + github: https://github.com/chevereto/chevereto + document: https://chevereto.com/docs diff --git a/apps/chevereto/latest/.env.sample b/apps/chevereto/latest/.env.sample new file mode 100644 index 00000000..82dbbf41 --- /dev/null +++ b/apps/chevereto/latest/.env.sample @@ -0,0 +1,17 @@ +CHEVERETO_HEADER_CLIENT_IP="X-Real-IP" +CHEVERETO_HOSTNAME="hostname.com" +CHEVERETO_HOSTNAME_PATH="/" +CHEVERETO_IMAGES_PATH="./data/images" +CHEVERETO_MAX_POST_SIZE="2G" +CHEVERETO_MAX_UPLOAD_SIZE="2G" +CHEVERETO_SERVICING="docker" +CONTAINER_NAME="chevereto" +ENCRYPTION_KEY="" +PANEL_APP_PORT_HTTP=40328 +PANEL_DB_HOST="mysql" +PANEL_DB_HOST_NAME="mysql" +PANEL_DB_NAME="chevereto" +PANEL_DB_PORT=3306 +PANEL_DB_TYPE="mysql" +PANEL_DB_USER="chevereto" +PANEL_DB_USER_PASSWORD="chevereto" diff --git a/apps/chevereto/latest/data.yml b/apps/chevereto/latest/data.yml new file mode 100644 index 00000000..54395f2d --- /dev/null +++ b/apps/chevereto/latest/data.yml @@ -0,0 +1,104 @@ +additionalProperties: + formFields: + - child: + default: "" + envKey: PANEL_DB_HOST + required: true + type: service + default: mysql + envKey: PANEL_DB_TYPE + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: apps + values: + - label: MySQL + value: mysql + - default: "chevereto" + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + random: true + required: true + rule: paramCommon + type: text + - default: "chevereto" + envKey: PANEL_DB_USER + labelEn: User + labelZh: 数据库用户 + random: true + required: true + rule: paramCommon + type: text + - default: "chevereto" + envKey: PANEL_DB_USER_PASSWORD + labelEn: Password + labelZh: 数据库用户密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "40328" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: HTTP Port + labelZh: HTTP 端口 + required: true + rule: paramPort + type: number + - default: "2G" + edit: true + envKey: CHEVERETO_MAX_POST_SIZE + labelEn: Max Post Size + labelZh: 最大 POST 大小 + required: true + type: text + - default: "2G" + edit: true + envKey: CHEVERETO_MAX_UPLOAD_SIZE + labelEn: Max Upload Size + labelZh: 最大上传大小 + required: true + type: text + - default: "docker" + disabled: true + envKey: CHEVERETO_SERVICING + labelEn: Servicing + labelZh: 服务模式 + required: true + type: text + - default: "./data/images" + disabled: true + envKey: CHEVERETO_IMAGES_PATH + labelEn: Images Path + labelZh: 图片路径 + required: true + type: text + - default: "hostname.com" + edit: true + envKey: CHEVERETO_HOSTNAME + labelEn: Hostname + labelZh: 主机名 + required: true + type: text + - default: "/" + edit: true + envKey: CHEVERETO_HOSTNAME_PATH + labelEn: Hostname Path + labelZh: 主机名路径 + required: true + type: text + - default: "X-Real-IP" + edit: true + envKey: CHEVERETO_HEADER_CLIENT_IP + labelEn: Client IP Header + labelZh: 客户端 IP 标头 + required: true + type: text + - default: "" + edit: true + envKey: ENCRYPTION_KEY + labelEn: Encryption Key + labelZh: 加密密钥 + required: false + type: text diff --git a/apps/chevereto/latest/data/images/.gitkeep b/apps/chevereto/latest/data/images/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/chevereto/latest/docker-compose.yml b/apps/chevereto/latest/docker-compose.yml new file mode 100644 index 00000000..bb9d6b98 --- /dev/null +++ b/apps/chevereto/latest/docker-compose.yml @@ -0,0 +1,32 @@ +services: + chevereto: + image: "chevereto/chevereto:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:80" + volumes: + - ${CHEVERETO_IMAGES_PATH}:/var/www/html/images/ + environment: + - VIRTUAL_HOST=${CHEVERETO_HOSTNAME} + - LETSENCRYPT_HOST=${CHEVERETO_HOSTNAME} + - CHEVERETO_DB_HOST=${PANEL_DB_HOST} + - CHEVERETO_DB_USER=${PANEL_DB_USER} + - CHEVERETO_DB_PASS=${PANEL_DB_USER_PASSWORD} + - CHEVERETO_DB_PORT=${PANEL_DB_PORT} + - CHEVERETO_DB_NAME=${PANEL_DB_NAME} + - CHEVERETO_HEADER_CLIENT_IP=${CHEVERETO_HEADER_CLIENT_IP} + - CHEVERETO_HOSTNAME=${CHEVERETO_HOSTNAME} + - CHEVERETO_HOSTNAME_PATH=${CHEVERETO_HOSTNAME_PATH} + - CHEVERETO_ENCRYPTION_KEY=${ENCRYPTION_KEY} + - CHEVERETO_MAX_POST_SIZE=${CHEVERETO_MAX_POST_SIZE} + - CHEVERETO_MAX_UPLOAD_SIZE=${CHEVERETO_MAX_UPLOAD_SIZE} + - CHEVERETO_SERVICING=${CHEVERETO_SERVICING} + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/chevereto/latest/scripts/init.sh b/apps/chevereto/latest/scripts/init.sh new file mode 100644 index 00000000..e6226d6f --- /dev/null +++ b/apps/chevereto/latest/scripts/init.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +chown -R www-data:www-data data \ No newline at end of file diff --git a/apps/chevereto/logo.png b/apps/chevereto/logo.png new file mode 100644 index 00000000..7c73aa9d Binary files /dev/null and b/apps/chevereto/logo.png differ diff --git a/apps/chevereto/server-latest/.env.sample b/apps/chevereto/server-latest/.env.sample new file mode 100644 index 00000000..55f7ac84 --- /dev/null +++ b/apps/chevereto/server-latest/.env.sample @@ -0,0 +1,17 @@ +CHEVERETO_HEADER_CLIENT_IP="X-Real-IP" +CHEVERETO_HOSTNAME="hostname.com" +CHEVERETO_HOSTNAME_PATH="/" +CHEVERETO_IMAGES_PATH="./data/images" +CHEVERETO_MAX_POST_SIZE="2G" +CHEVERETO_MAX_UPLOAD_SIZE="2G" +CHEVERETO_SERVICING="server" +CONTAINER_NAME="chevereto" +ENCRYPTION_KEY="" +PANEL_APP_PORT_HTTP=40328 +PANEL_DB_HOST="mysql" +PANEL_DB_HOST_NAME="mysql" +PANEL_DB_NAME="chevereto" +PANEL_DB_PORT=3306 +PANEL_DB_TYPE="mysql" +PANEL_DB_USER="chevereto" +PANEL_DB_USER_PASSWORD="chevereto" diff --git a/apps/chevereto/server-latest/data.yml b/apps/chevereto/server-latest/data.yml new file mode 100644 index 00000000..81a33025 --- /dev/null +++ b/apps/chevereto/server-latest/data.yml @@ -0,0 +1,104 @@ +additionalProperties: + formFields: + - child: + default: "" + envKey: PANEL_DB_HOST + required: true + type: service + default: mysql + envKey: PANEL_DB_TYPE + labelEn: Database Service + labelZh: 数据库服务 + required: true + type: apps + values: + - label: MySQL + value: mysql + - default: "chevereto" + envKey: PANEL_DB_NAME + labelEn: Database + labelZh: 数据库名 + random: true + required: true + rule: paramCommon + type: text + - default: "chevereto" + envKey: PANEL_DB_USER + labelEn: User + labelZh: 数据库用户 + random: true + required: true + rule: paramCommon + type: text + - default: "chevereto" + envKey: PANEL_DB_USER_PASSWORD + labelEn: Password + labelZh: 数据库用户密码 + random: true + required: true + rule: paramComplexity + type: password + - default: "40328" + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: HTTP Port + labelZh: HTTP 端口 + required: true + rule: paramPort + type: number + - default: "2G" + edit: true + envKey: CHEVERETO_MAX_POST_SIZE + labelEn: Max Post Size + labelZh: 最大 POST 大小 + required: true + type: text + - default: "2G" + edit: true + envKey: CHEVERETO_MAX_UPLOAD_SIZE + labelEn: Max Upload Size + labelZh: 最大上传大小 + required: true + type: text + - default: "server" + disabled: true + envKey: CHEVERETO_SERVICING + labelEn: Servicing + labelZh: 服务模式 + required: true + type: text + - default: "./data/images" + edit: true + envKey: CHEVERETO_IMAGES_PATH + labelEn: Images Path + labelZh: 图片路径 + required: true + type: text + - default: "hostname.com" + edit: true + envKey: CHEVERETO_HOSTNAME + labelEn: Hostname + labelZh: 主机名 + required: true + type: text + - default: "/" + edit: true + envKey: CHEVERETO_HOSTNAME_PATH + labelEn: Hostname Path + labelZh: 主机名路径 + required: true + type: text + - default: "X-Real-IP" + edit: true + envKey: CHEVERETO_HEADER_CLIENT_IP + labelEn: Client IP Header + labelZh: 客户端 IP 标头 + required: true + type: text + - default: "" + edit: true + envKey: ENCRYPTION_KEY + labelEn: Encryption Key + labelZh: 加密密钥 + required: false + type: text diff --git a/apps/chevereto/server-latest/data/images/.gitkeep b/apps/chevereto/server-latest/data/images/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/apps/chevereto/server-latest/docker-compose.yml b/apps/chevereto/server-latest/docker-compose.yml new file mode 100644 index 00000000..d7d80154 --- /dev/null +++ b/apps/chevereto/server-latest/docker-compose.yml @@ -0,0 +1,37 @@ +services: + chevereto: + image: "chevereto/chevereto:latest" + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:80" + volumes: + - ${CHEVERETO_IMAGES_PATH}:/var/www/html/images/ + - chevereto_data:/var/www/html/ + environment: + - VIRTUAL_HOST=${CHEVERETO_HOSTNAME} + - LETSENCRYPT_HOST=${CHEVERETO_HOSTNAME} + - CHEVERETO_DB_HOST=${PANEL_DB_HOST} + - CHEVERETO_DB_USER=${PANEL_DB_USER} + - CHEVERETO_DB_PASS=${PANEL_DB_USER_PASSWORD} + - CHEVERETO_DB_PORT=${PANEL_DB_PORT} + - CHEVERETO_DB_NAME=${PANEL_DB_NAME} + - CHEVERETO_HEADER_CLIENT_IP=${CHEVERETO_HEADER_CLIENT_IP} + - CHEVERETO_HOSTNAME=${CHEVERETO_HOSTNAME} + - CHEVERETO_HOSTNAME_PATH=${CHEVERETO_HOSTNAME_PATH} + - CHEVERETO_ENCRYPTION_KEY=${ENCRYPTION_KEY} + - CHEVERETO_MAX_POST_SIZE=${CHEVERETO_MAX_POST_SIZE} + - CHEVERETO_MAX_UPLOAD_SIZE=${CHEVERETO_MAX_UPLOAD_SIZE} + - CHEVERETO_SERVICING=${CHEVERETO_SERVICING} + labels: + createdBy: "Apps" + +volumes: + chevereto_data: + name: chevereto_data + +networks: + 1panel-network: + external: true diff --git a/apps/chevereto/server-latest/scripts/init.sh b/apps/chevereto/server-latest/scripts/init.sh new file mode 100644 index 00000000..e6226d6f --- /dev/null +++ b/apps/chevereto/server-latest/scripts/init.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +chown -R www-data:www-data data \ No newline at end of file diff --git a/apps/chevereto/server-latest/scripts/uninstall.sh b/apps/chevereto/server-latest/scripts/uninstall.sh new file mode 100644 index 00000000..1a62d5e5 --- /dev/null +++ b/apps/chevereto/server-latest/scripts/uninstall.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker-compose down --volumes \ No newline at end of file