Skip to content

Commit

Permalink
feat:添加chevereto到列表
Browse files Browse the repository at this point in the history
  • Loading branch information
okxlin committed Dec 8, 2024
1 parent cd98871 commit abc569e
Show file tree
Hide file tree
Showing 19 changed files with 508 additions and 0 deletions.
17 changes: 17 additions & 0 deletions apps/chevereto/4.2.4/.env.sample
Original file line number Diff line number Diff line change
@@ -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"
104 changes: 104 additions & 0 deletions apps/chevereto/4.2.4/data.yml
Original file line number Diff line number Diff line change
@@ -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
Empty file.
32 changes: 32 additions & 0 deletions apps/chevereto/4.2.4/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions apps/chevereto/4.2.4/scripts/init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

chown -R www-data:www-data data
13 changes: 13 additions & 0 deletions apps/chevereto/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Chevereto: 终极图片和视频分享软件

Chevereto 是一款强大且自托管的媒体分享平台,注重灵活性和控制力。它使您能够在自己的服务器上建立和管理一个媒体分享网站,完全掌控您的托管环境和政策。通过使用 Chevereto,您可以避免平台限制和停机风险,确保您的网站完全按照您的需求运行。

### 主要特点:
- **自托管**:完全控制您的媒体平台,无需依赖第三方服务。
- **灵活性**:支持图片、视频和其他媒体类型的上传和分享。
- **无平台限制**:避免平台封禁或限制内容的风险。
- **高性能**:优化的媒体处理和传输,保证流畅的用户体验。
- **可定制性**:提供多种主题和插件,轻松定制您的站点功能。
- **安全性**:支持多种安全功能,保护用户数据和内容的隐私。

Chevereto 适合需要完全控制内容和托管环境的用户,尤其是对资源和平台限制敏感的场景。
19 changes: 19 additions & 0 deletions apps/chevereto/data.yml
Original file line number Diff line number Diff line change
@@ -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
17 changes: 17 additions & 0 deletions apps/chevereto/latest/.env.sample
Original file line number Diff line number Diff line change
@@ -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"
104 changes: 104 additions & 0 deletions apps/chevereto/latest/data.yml
Original file line number Diff line number Diff line change
@@ -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
Empty file.
32 changes: 32 additions & 0 deletions apps/chevereto/latest/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions apps/chevereto/latest/scripts/init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

chown -R www-data:www-data data
Binary file added apps/chevereto/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions apps/chevereto/server-latest/.env.sample
Original file line number Diff line number Diff line change
@@ -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"
Loading

0 comments on commit abc569e

Please sign in to comment.