From abc569e970b173df442265aa7cb989852b3e76d5 Mon Sep 17 00:00:00 2001 From: okxlin Date: Sun, 8 Dec 2024 15:52:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0chevereto=E5=88=B0?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chevereto/4.2.4/.env.sample | 17 +++ apps/chevereto/4.2.4/data.yml | 104 ++++++++++++++++++ apps/chevereto/4.2.4/data/images/.gitkeep | 0 apps/chevereto/4.2.4/docker-compose.yml | 32 ++++++ apps/chevereto/4.2.4/scripts/init.sh | 3 + apps/chevereto/README.md | 13 +++ apps/chevereto/data.yml | 19 ++++ apps/chevereto/latest/.env.sample | 17 +++ apps/chevereto/latest/data.yml | 104 ++++++++++++++++++ apps/chevereto/latest/data/images/.gitkeep | 0 apps/chevereto/latest/docker-compose.yml | 32 ++++++ apps/chevereto/latest/scripts/init.sh | 3 + apps/chevereto/logo.png | Bin 0 -> 1775 bytes apps/chevereto/server-latest/.env.sample | 17 +++ apps/chevereto/server-latest/data.yml | 104 ++++++++++++++++++ .../server-latest/data/images/.gitkeep | 0 .../server-latest/docker-compose.yml | 37 +++++++ apps/chevereto/server-latest/scripts/init.sh | 3 + .../server-latest/scripts/uninstall.sh | 3 + 19 files changed, 508 insertions(+) create mode 100644 apps/chevereto/4.2.4/.env.sample create mode 100644 apps/chevereto/4.2.4/data.yml create mode 100644 apps/chevereto/4.2.4/data/images/.gitkeep create mode 100644 apps/chevereto/4.2.4/docker-compose.yml create mode 100644 apps/chevereto/4.2.4/scripts/init.sh create mode 100644 apps/chevereto/README.md create mode 100644 apps/chevereto/data.yml create mode 100644 apps/chevereto/latest/.env.sample create mode 100644 apps/chevereto/latest/data.yml create mode 100644 apps/chevereto/latest/data/images/.gitkeep create mode 100644 apps/chevereto/latest/docker-compose.yml create mode 100644 apps/chevereto/latest/scripts/init.sh create mode 100644 apps/chevereto/logo.png create mode 100644 apps/chevereto/server-latest/.env.sample create mode 100644 apps/chevereto/server-latest/data.yml create mode 100644 apps/chevereto/server-latest/data/images/.gitkeep create mode 100644 apps/chevereto/server-latest/docker-compose.yml create mode 100644 apps/chevereto/server-latest/scripts/init.sh create mode 100644 apps/chevereto/server-latest/scripts/uninstall.sh 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 0000000000000000000000000000000000000000..7c73aa9d2c9a7e63efa4aeff2a045b41a1ddd625 GIT binary patch literal 1775 zcmd6o`9Bj30LCXRS0&*kl@6jMY%^yjt*sd*uW5=!TG}YLQn`6wxy9VGtW0yfk>g!v z#v;A%$X-W|MPhDUj=k>jdjEs>$M^I3KF{~p=eH-((E+_rUPB%L0PMrqAf0wx_itpS zcUoR~d8YvsM|)?~ji__72!p)f{NUraTyOs&@ZR`IqbA}X z4qpq?Y6+b=IosOCGE_MxnPf}+`6&gH;>2AM%4bj~?IxN+uK>5oy0`S4) z8FqwAON3I_{;;#?FMyheLQ&w@6^VKCpXnu&9E0(=_$j_xxL*}LU+$zw%v35NI0TEF zuy0%COSSdM3O=v6Njz^7?`!&aOC8v#?os!iM_Vl%iu;zMxV8jzfvU^#M)ivHo)o(O zAlgt0>YjRkuSn$etPYoJst_%P{4-x&VkRxch?dK*0Fz9zqDa;ZU27}15@H?KSud#Rk%e$-{xxnIc5F^ee~@hbd4dyx8Xy~%;cNLY~&tApeO=t_9z{pEXf zgID!FohID7>ziM5;m&WDx<#&)wt7ThrUz)zvUq)$Gq4>vtK4Wh%Ct=q@}P3oQ4yBq`tZnm98;zZ*pT`qL-Y8bShe?- zbAqf{`0LkpUgU_>^jJWTWL;nYXjpDA`;wG~rF+AYi-swX}`@2jo`0RUgHu42sS&}!Bvq%-t;FQXguFnc$`i4Lo3yC(K z(NZ-AKTCa=uvyltmI5M}fKTyq^~@gP9WwBBUN3H8j5RP#_WlK!XgS%isILoB*}Ne9 z;=@6)aZu|fBc2F05U-KRuUw#ucWsSzd^pKjRi|#hhJY-j7ZI4D(%r&_siXF^%GY4F ztyDhb?ylpHhGOrV;S+{AS-_Mi8Dt_$2UOSm1 zz4I;j+ryh)((Pc&Oaz>ZkugE2&CH`_EI}xxeLbVGn<*bkWv9MC)q*F}S~%@>y?cK3 z1K;@oF_u5KLM>_cvP#=n?bLz2k5|z(Tq4n=oDVhfelRw1RBAHvwnRdCx++(a6Cv2ZtPp;+}r9ej zmfB1=bHW9R#<=C?TC}o(@nzt$zBYU>UWbprz8mfx+<2Z1VM^o{bTESSkhHmMn{RKW!kpp>52oWxpNETa0# zJ1@2olnF@L-%e%q5*>3ojfVCJ=Sq#Ptb7_TEtD_nJ7KaBU;9R}p#1c#e)U!3uCKO` zQ)}XS;8sUk6YpC4_0R+?s&V6tg46J|;PWB1p&)o9=EMv`VQ(w=Ke43mAtn0e-M1Qr QO8)o4FenFPCE`ZxKM{Cj<^TWy literal 0 HcmV?d00001 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