feat:添加chevereto到列表

This commit is contained in:
okxlin 2024-12-08 15:52:13 +08:00
parent cd98871693
commit abc569e970
19 changed files with 508 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
#!/bin/bash
chown -R www-data:www-data data

13
apps/chevereto/README.md Normal file
View File

@ -0,0 +1,13 @@
# Chevereto: 终极图片和视频分享软件
Chevereto 是一款强大且自托管的媒体分享平台,注重灵活性和控制力。它使您能够在自己的服务器上建立和管理一个媒体分享网站,完全掌控您的托管环境和政策。通过使用 Chevereto您可以避免平台限制和停机风险确保您的网站完全按照您的需求运行。
### 主要特点:
- **自托管**:完全控制您的媒体平台,无需依赖第三方服务。
- **灵活性**:支持图片、视频和其他媒体类型的上传和分享。
- **无平台限制**:避免平台封禁或限制内容的风险。
- **高性能**:优化的媒体处理和传输,保证流畅的用户体验。
- **可定制性**:提供多种主题和插件,轻松定制您的站点功能。
- **安全性**:支持多种安全功能,保护用户数据和内容的隐私。
Chevereto 适合需要完全控制内容和托管环境的用户,尤其是对资源和平台限制敏感的场景。

19
apps/chevereto/data.yml Normal file
View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
#!/bin/bash
chown -R www-data:www-data data

BIN
apps/chevereto/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,3 @@
#!/bin/bash
chown -R www-data:www-data data

View File

@ -0,0 +1,3 @@
#!/bin/bash
docker-compose down --volumes