From 761021af8d8111afefb4f6f168a0a47e94bda977 Mon Sep 17 00:00:00 2001 From: QYG2297248353 Date: Wed, 23 Jul 2025 09:29:49 +0000 Subject: [PATCH] Synced apps from source repository via GitHub Actions --- apps/archivebox/0.7.3/docker-compose.yml | 18 +---- apps/archivebox/0.8.5rc51/.env | 21 ++++++ apps/archivebox/0.8.5rc51/data.yml | 67 +++++++++++++++++++ apps/archivebox/0.8.5rc51/docker-compose.yml | 64 ++++++++++++++++++ .../0.8.5rc51}/envs/default.env | 0 .../0.8.5rc51}/envs/global.env | 0 .../0.8.5rc51}/scripts/init.sh | 0 .../0.8.5rc51}/scripts/uninstall.sh | 0 .../0.8.5rc51}/scripts/upgrade.sh | 0 apps/byte-muse/{1.15.0 => 1.15.1}/.env | 0 apps/byte-muse/{1.15.0 => 1.15.1}/data.yml | 0 .../{1.15.0 => 1.15.1}/docker-compose.yml | 2 +- apps/byte-muse/1.15.1/envs/default.env | 2 + apps/byte-muse/1.15.1/envs/global.env | 2 + apps/byte-muse/1.15.1/scripts/init.sh | 17 +++++ apps/byte-muse/1.15.1/scripts/uninstall.sh | 10 +++ apps/byte-muse/1.15.1/scripts/upgrade.sh | 17 +++++ 17 files changed, 204 insertions(+), 16 deletions(-) create mode 100644 apps/archivebox/0.8.5rc51/.env create mode 100644 apps/archivebox/0.8.5rc51/data.yml create mode 100644 apps/archivebox/0.8.5rc51/docker-compose.yml rename apps/{byte-muse/1.15.0 => archivebox/0.8.5rc51}/envs/default.env (100%) rename apps/{byte-muse/1.15.0 => archivebox/0.8.5rc51}/envs/global.env (100%) rename apps/{byte-muse/1.15.0 => archivebox/0.8.5rc51}/scripts/init.sh (100%) rename apps/{byte-muse/1.15.0 => archivebox/0.8.5rc51}/scripts/uninstall.sh (100%) rename apps/{byte-muse/1.15.0 => archivebox/0.8.5rc51}/scripts/upgrade.sh (100%) rename apps/byte-muse/{1.15.0 => 1.15.1}/.env (100%) rename apps/byte-muse/{1.15.0 => 1.15.1}/data.yml (100%) rename apps/byte-muse/{1.15.0 => 1.15.1}/docker-compose.yml (95%) create mode 100644 apps/byte-muse/1.15.1/envs/default.env create mode 100644 apps/byte-muse/1.15.1/envs/global.env create mode 100644 apps/byte-muse/1.15.1/scripts/init.sh create mode 100644 apps/byte-muse/1.15.1/scripts/uninstall.sh create mode 100644 apps/byte-muse/1.15.1/scripts/upgrade.sh diff --git a/apps/archivebox/0.7.3/docker-compose.yml b/apps/archivebox/0.7.3/docker-compose.yml index a3f6d43..f70ce3c 100644 --- a/apps/archivebox/0.7.3/docker-compose.yml +++ b/apps/archivebox/0.7.3/docker-compose.yml @@ -24,21 +24,6 @@ services: restart: always volumes: - ${ARCHIVEBOX_ROOT_PATH}/data:/data - archivebox-scheduler: - command: schedule --foreground --update --every=day - container_name: scheduler-archivebox - env_file: - - ./envs/global.env - - .env - environment: - - TZ=Asia/Shanghai - - TIMEOUT=120 - - SEARCH_BACKEND_ENGINE=sonic - - SEARCH_BACKEND_HOST_NAME=archivebox-sonic - - SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-} - image: archivebox/archivebox:0.7.3 - volumes: - - ${ARCHIVEBOX_ROOT_PATH}/data:/data archivebox-sonic: container_name: sonic-archivebox env_file: @@ -50,5 +35,8 @@ services: expose: - 1491 image: archivebox/sonic:latest + networks: + - 1panel-network + restart: always volumes: - ${ARCHIVEBOX_ROOT_PATH}/sonic:/var/lib/sonic/store diff --git a/apps/archivebox/0.8.5rc51/.env b/apps/archivebox/0.8.5rc51/.env new file mode 100644 index 0000000..1603a5c --- /dev/null +++ b/apps/archivebox/0.8.5rc51/.env @@ -0,0 +1,21 @@ +# 数据持久化路径 [必填] +ARCHIVEBOX_ROOT_PATH=/home/archivebox + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8000 + +# 管理员用户名 [必填] +ADMIN_USERNAME=archivebox + +# 管理员密码 [必填] +ADMIN_PASSWORD=archivebox + +# 是否公开快照列表 [必填] +PUBLIC_INDEX=True + +# 是否公开快照内容 [必填] +PUBLIC_SNAPSHOTS=True + +# 是否允许匿名用户提交存档 [必填] +PUBLIC_ADD_VIEW=False + diff --git a/apps/archivebox/0.8.5rc51/data.yml b/apps/archivebox/0.8.5rc51/data.yml new file mode 100644 index 0000000..8cb57dd --- /dev/null +++ b/apps/archivebox/0.8.5rc51/data.yml @@ -0,0 +1,67 @@ +additionalProperties: + formFields: + - default: "/home/archivebox" + edit: true + envKey: ARCHIVEBOX_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 8000 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: "archivebox" + edit: true + envKey: ADMIN_USERNAME + labelZh: 管理员用户名 + labelEn: Admin Username + required: true + type: text + - default: "archivebox" + edit: true + envKey: ADMIN_PASSWORD + labelZh: 管理员密码 + labelEn: Admin Password + required: true + type: password + - default: "True" + edit: true + envKey: PUBLIC_INDEX + labelZh: 是否公开快照列表 + labelEn: Whether to make the snapshot list public + required: true + type: select + values: + - label: 公开 + value: "True" + - label: 私密 + value: "False" + - default: "True" + edit: true + envKey: PUBLIC_SNAPSHOTS + labelZh: 是否公开快照内容 + labelEn: Whether to make snapshot content public + required: true + type: select + values: + - label: 公开 + value: "True" + - label: 私密 + value: "False" + - default: "False" + edit: true + envKey: PUBLIC_ADD_VIEW + labelZh: 是否允许匿名用户提交存档 + labelEn: Whether to allow anonymous users to submit archives + required: true + type: select + values: + - label: 允许 + value: "True" + - label: 禁止 + value: "False" diff --git a/apps/archivebox/0.8.5rc51/docker-compose.yml b/apps/archivebox/0.8.5rc51/docker-compose.yml new file mode 100644 index 0000000..ac22205 --- /dev/null +++ b/apps/archivebox/0.8.5rc51/docker-compose.yml @@ -0,0 +1,64 @@ +networks: + 1panel-network: + external: true +services: + archivebox: + container_name: archivebox + depends_on: + - archivebox-init + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - ALLOWED_HOSTS=* + - CSRF_TRUSTED_ORIGINS=http://localhost:8000 + - SEARCH_BACKEND_ENGINE=sonic + - SEARCH_BACKEND_HOST_NAME=archivebox-sonic + - SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-} + image: archivebox/archivebox:0.8.5rc51 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:8000 + restart: always + volumes: + - ${ARCHIVEBOX_ROOT_PATH}/data:/data + archivebox-init: + command: archivebox init + container_name: init-archivebox + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - ALLOWED_HOSTS=* + - CSRF_TRUSTED_ORIGINS=http://localhost:8000 + - SEARCH_BACKEND_ENGINE=sonic + - SEARCH_BACKEND_HOST_NAME=archivebox-sonic + - SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-} + image: archivebox/archivebox:0.8.5rc51 + labels: + createdBy: Apps + networks: + - 1panel-network + volumes: + - ${ARCHIVEBOX_ROOT_PATH}/data:/data + archivebox-sonic: + container_name: sonic-archivebox + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - SEARCH_BACKEND_PASSWORD=${ADMIN_PASSWORD:-} + expose: + - 1491 + image: archivebox/sonic:latest + networks: + - 1panel-network + restart: always + volumes: + - ${ARCHIVEBOX_ROOT_PATH}/sonic:/var/lib/sonic/store diff --git a/apps/byte-muse/1.15.0/envs/default.env b/apps/archivebox/0.8.5rc51/envs/default.env similarity index 100% rename from apps/byte-muse/1.15.0/envs/default.env rename to apps/archivebox/0.8.5rc51/envs/default.env diff --git a/apps/byte-muse/1.15.0/envs/global.env b/apps/archivebox/0.8.5rc51/envs/global.env similarity index 100% rename from apps/byte-muse/1.15.0/envs/global.env rename to apps/archivebox/0.8.5rc51/envs/global.env diff --git a/apps/byte-muse/1.15.0/scripts/init.sh b/apps/archivebox/0.8.5rc51/scripts/init.sh similarity index 100% rename from apps/byte-muse/1.15.0/scripts/init.sh rename to apps/archivebox/0.8.5rc51/scripts/init.sh diff --git a/apps/byte-muse/1.15.0/scripts/uninstall.sh b/apps/archivebox/0.8.5rc51/scripts/uninstall.sh similarity index 100% rename from apps/byte-muse/1.15.0/scripts/uninstall.sh rename to apps/archivebox/0.8.5rc51/scripts/uninstall.sh diff --git a/apps/byte-muse/1.15.0/scripts/upgrade.sh b/apps/archivebox/0.8.5rc51/scripts/upgrade.sh similarity index 100% rename from apps/byte-muse/1.15.0/scripts/upgrade.sh rename to apps/archivebox/0.8.5rc51/scripts/upgrade.sh diff --git a/apps/byte-muse/1.15.0/.env b/apps/byte-muse/1.15.1/.env similarity index 100% rename from apps/byte-muse/1.15.0/.env rename to apps/byte-muse/1.15.1/.env diff --git a/apps/byte-muse/1.15.0/data.yml b/apps/byte-muse/1.15.1/data.yml similarity index 100% rename from apps/byte-muse/1.15.0/data.yml rename to apps/byte-muse/1.15.1/data.yml diff --git a/apps/byte-muse/1.15.0/docker-compose.yml b/apps/byte-muse/1.15.1/docker-compose.yml similarity index 95% rename from apps/byte-muse/1.15.0/docker-compose.yml rename to apps/byte-muse/1.15.1/docker-compose.yml index c86e081..d330d6b 100644 --- a/apps/byte-muse/1.15.0/docker-compose.yml +++ b/apps/byte-muse/1.15.1/docker-compose.yml @@ -11,7 +11,7 @@ services: - HTTPS_PROXY=${HTTP_PROXY} - HTTP_PROXY=${HTTP_PROXY:-} - NO_PROXY=${NO_PROXY:-} - image: envyafish/byte-muse:1.15.0 + image: envyafish/byte-muse:1.15.1 labels: createdBy: Apps networks: diff --git a/apps/byte-muse/1.15.1/envs/default.env b/apps/byte-muse/1.15.1/envs/default.env new file mode 100644 index 0000000..cd05f46 --- /dev/null +++ b/apps/byte-muse/1.15.1/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/apps/byte-muse/1.15.1/envs/global.env b/apps/byte-muse/1.15.1/envs/global.env new file mode 100644 index 0000000..e10989f --- /dev/null +++ b/apps/byte-muse/1.15.1/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/apps/byte-muse/1.15.1/scripts/init.sh b/apps/byte-muse/1.15.1/scripts/init.sh new file mode 100644 index 0000000..07fb8c3 --- /dev/null +++ b/apps/byte-muse/1.15.1/scripts/init.sh @@ -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 diff --git a/apps/byte-muse/1.15.1/scripts/uninstall.sh b/apps/byte-muse/1.15.1/scripts/uninstall.sh new file mode 100644 index 0000000..c86c4fb --- /dev/null +++ b/apps/byte-muse/1.15.1/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/byte-muse/1.15.1/scripts/upgrade.sh b/apps/byte-muse/1.15.1/scripts/upgrade.sh new file mode 100644 index 0000000..07fb8c3 --- /dev/null +++ b/apps/byte-muse/1.15.1/scripts/upgrade.sh @@ -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