diff --git a/appstore/glance/0.7.2/scripts/init.sh b/appstore/glance/0.7.2/scripts/init.sh index 2195dc92..ecfa16a4 100644 --- a/appstore/glance/0.7.2/scripts/init.sh +++ b/appstore/glance/0.7.2/scripts/init.sh @@ -10,10 +10,10 @@ if [ -f .env ]; then echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env - mkdir -p "$APP_NAME_ROOT_PATH" - mkdir -p "$APP_NAME_ROOT_PATH/app" + mkdir -p "$GLANCE_ROOT_PATH" + mkdir -p "$GLANCE_ROOT_PATH/app" - cp ./conf/glance.yml "$APP_NAME_ROOT_PATH/app/glance.yml" + cp ./conf/glance.yml "$GLANCE_ROOT_PATH/app/glance.yml" echo "Check Finish." diff --git a/appstore/glance/0.7.2/scripts/upgrade.sh b/appstore/glance/0.7.2/scripts/upgrade.sh index 0be9bfe0..fda819a4 100644 --- a/appstore/glance/0.7.2/scripts/upgrade.sh +++ b/appstore/glance/0.7.2/scripts/upgrade.sh @@ -10,11 +10,11 @@ if [ -f .env ]; then echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env - mkdir -p "$APP_NAME_ROOT_PATH" - mkdir -p "$APP_NAME_ROOT_PATH/app" + mkdir -p "$GLANCE_ROOT_PATH" + mkdir -p "$GLANCE_ROOT_PATH/app" - if [ ! -f "$APP_NAME_ROOT_PATH/app/glance.yml" ]; then - cp ./conf/glance.yml "$APP_NAME_ROOT_PATH/app/glance.yml" + if [ ! -f "$GLANCE_ROOT_PATH/app/glance.yml" ]; then + cp ./conf/glance.yml "$GLANCE_ROOT_PATH/app/glance.yml" fi echo "Check Finish." diff --git a/appstore/jellyfin/10.10.5/.env b/appstore/jellyfin/10.10.6/.env similarity index 100% rename from appstore/jellyfin/10.10.5/.env rename to appstore/jellyfin/10.10.6/.env diff --git a/appstore/jellyfin/10.10.5/data.yml b/appstore/jellyfin/10.10.6/data.yml similarity index 100% rename from appstore/jellyfin/10.10.5/data.yml rename to appstore/jellyfin/10.10.6/data.yml diff --git a/appstore/jellyfin/10.10.5/docker-compose.yml b/appstore/jellyfin/10.10.6/docker-compose.yml similarity index 96% rename from appstore/jellyfin/10.10.5/docker-compose.yml rename to appstore/jellyfin/10.10.6/docker-compose.yml index 4807397a..92e6f6fa 100644 --- a/appstore/jellyfin/10.10.5/docker-compose.yml +++ b/appstore/jellyfin/10.10.6/docker-compose.yml @@ -10,7 +10,7 @@ services: - ROC_ENABLE_PRE_VEGA=1 - HTTPS_PROXY=${HTTP_PROXY:-} - NO_PROXY=localhost,127.0.0.1,::1 - image: jellyfin/jellyfin:10.10.5 + image: jellyfin/jellyfin:10.10.6 labels: createdBy: Apps network_mode: ${NETWORK_MODE} diff --git a/appstore/jellyfin/10.10.5/envs/default.env b/appstore/jellyfin/10.10.6/envs/default.env similarity index 100% rename from appstore/jellyfin/10.10.5/envs/default.env rename to appstore/jellyfin/10.10.6/envs/default.env diff --git a/appstore/jellyfin/10.10.5/envs/global.env b/appstore/jellyfin/10.10.6/envs/global.env similarity index 100% rename from appstore/jellyfin/10.10.5/envs/global.env rename to appstore/jellyfin/10.10.6/envs/global.env diff --git a/appstore/jellyfin/10.10.5/scripts/init.sh b/appstore/jellyfin/10.10.6/scripts/init.sh similarity index 100% rename from appstore/jellyfin/10.10.5/scripts/init.sh rename to appstore/jellyfin/10.10.6/scripts/init.sh diff --git a/appstore/jellyfin/10.10.5/scripts/uninstall.sh b/appstore/jellyfin/10.10.6/scripts/uninstall.sh similarity index 100% rename from appstore/jellyfin/10.10.5/scripts/uninstall.sh rename to appstore/jellyfin/10.10.6/scripts/uninstall.sh diff --git a/appstore/jellyfin/10.10.5/scripts/upgrade.sh b/appstore/jellyfin/10.10.6/scripts/upgrade.sh similarity index 100% rename from appstore/jellyfin/10.10.5/scripts/upgrade.sh rename to appstore/jellyfin/10.10.6/scripts/upgrade.sh diff --git a/appstore/onedev/11.6.14/.env b/appstore/onedev/11.6.15/.env similarity index 100% rename from appstore/onedev/11.6.14/.env rename to appstore/onedev/11.6.15/.env diff --git a/appstore/onedev/11.6.14/data.yml b/appstore/onedev/11.6.15/data.yml similarity index 100% rename from appstore/onedev/11.6.14/data.yml rename to appstore/onedev/11.6.15/data.yml diff --git a/appstore/onedev/11.6.14/docker-compose.yml b/appstore/onedev/11.6.15/docker-compose.yml similarity index 95% rename from appstore/onedev/11.6.14/docker-compose.yml rename to appstore/onedev/11.6.15/docker-compose.yml index 2a629eb7..9eaea835 100644 --- a/appstore/onedev/11.6.14/docker-compose.yml +++ b/appstore/onedev/11.6.15/docker-compose.yml @@ -14,7 +14,7 @@ services: - initial_email=${INITIAL_EMAIL} - initial_server_url=${INITIAL_SERVER_URL} - initial_ssh_root_url=${INITIAL_SSH_ROOT_URL} - image: 1dev/server:11.6.14 + image: 1dev/server:11.6.15 labels: createdBy: Apps networks: diff --git a/appstore/onedev/11.6.14/envs/default.env b/appstore/onedev/11.6.15/envs/default.env similarity index 100% rename from appstore/onedev/11.6.14/envs/default.env rename to appstore/onedev/11.6.15/envs/default.env diff --git a/appstore/onedev/11.6.14/envs/global.env b/appstore/onedev/11.6.15/envs/global.env similarity index 100% rename from appstore/onedev/11.6.14/envs/global.env rename to appstore/onedev/11.6.15/envs/global.env diff --git a/appstore/onedev/11.6.14/envs/onedev.env b/appstore/onedev/11.6.15/envs/onedev.env similarity index 100% rename from appstore/onedev/11.6.14/envs/onedev.env rename to appstore/onedev/11.6.15/envs/onedev.env diff --git a/appstore/onedev/11.6.14/scripts/init.sh b/appstore/onedev/11.6.15/scripts/init.sh similarity index 100% rename from appstore/onedev/11.6.14/scripts/init.sh rename to appstore/onedev/11.6.15/scripts/init.sh diff --git a/appstore/onedev/11.6.14/scripts/uninstall.sh b/appstore/onedev/11.6.15/scripts/uninstall.sh similarity index 100% rename from appstore/onedev/11.6.14/scripts/uninstall.sh rename to appstore/onedev/11.6.15/scripts/uninstall.sh diff --git a/appstore/onedev/11.6.14/scripts/upgrade.sh b/appstore/onedev/11.6.15/scripts/upgrade.sh similarity index 100% rename from appstore/onedev/11.6.14/scripts/upgrade.sh rename to appstore/onedev/11.6.15/scripts/upgrade.sh diff --git a/appstore/stream-rec-backend/main/.env b/appstore/stream-rec-backend/main/.env new file mode 100644 index 00000000..0362943f --- /dev/null +++ b/appstore/stream-rec-backend/main/.env @@ -0,0 +1,12 @@ +# 数据持久化路径 [必填] +STREAM_REC_ROOT_PATH=/home/stream-rec + +# API 端口 [必填] +PANEL_APP_PORT_HTTP=12555 + +# 登录密码 (初始化) [必填] +LOGIN_SECRET=stream-rec + +# 网络代理 +HTTP_PROXY= + diff --git a/appstore/stream-rec-backend/main/data.yml b/appstore/stream-rec-backend/main/data.yml new file mode 100644 index 00000000..08ef890a --- /dev/null +++ b/appstore/stream-rec-backend/main/data.yml @@ -0,0 +1,32 @@ +additionalProperties: + formFields: + - default: "/home/stream-rec" + edit: true + envKey: STREAM_REC_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 12555 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: API 端口 + labelEn: API port + required: true + rule: paramPort + type: number + - default: "stream-rec" + edit: false + envKey: LOGIN_SECRET + labelZh: 登录密码 (初始化) + labelEn: Login Password (Initialization) + required: true + random: true + type: text + - default: "" + edit: true + envKey: HTTP_PROXY + labelZh: 网络代理 + labelEn: Network Proxy + required: false + type: text diff --git a/appstore/stream-rec-backend/main/docker-compose.yml b/appstore/stream-rec-backend/main/docker-compose.yml new file mode 100644 index 00000000..cca1bacc --- /dev/null +++ b/appstore/stream-rec-backend/main/docker-compose.yml @@ -0,0 +1,24 @@ +networks: + 1panel-network: + external: true +services: + stream-rec-backend: + container_name: stream-rec-backend + env_file: + - ./envs/global.env + - .env + environment: + - LOG_LEVEL=INFO + - DB_PATH=/opt/records + - DOWNLOAD_PATH=/download + image: streamrec/stream-rec:main + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:12555 + restart: always + volumes: + - ${STREAM_REC_ROOT_PATH}/records:/opt/records + - ${STREAM_REC_ROOT_PATH}/download:/download diff --git a/appstore/stream-rec-backend/main/envs/default.env b/appstore/stream-rec-backend/main/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/appstore/stream-rec-backend/main/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/stream-rec-backend/main/envs/global.env b/appstore/stream-rec-backend/main/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/appstore/stream-rec-backend/main/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/stream-rec-backend/main/scripts/init.sh b/appstore/stream-rec-backend/main/scripts/init.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/stream-rec-backend/main/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/appstore/stream-rec-backend/main/scripts/uninstall.sh b/appstore/stream-rec-backend/main/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/appstore/stream-rec-backend/main/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/appstore/stream-rec-backend/main/scripts/upgrade.sh b/appstore/stream-rec-backend/main/scripts/upgrade.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/stream-rec-backend/main/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 diff --git a/appstore/stream-rec-frontend/main/.env b/appstore/stream-rec-frontend/main/.env new file mode 100644 index 00000000..30b031d3 --- /dev/null +++ b/appstore/stream-rec-frontend/main/.env @@ -0,0 +1,18 @@ +# 数据持久化路径 [必填] +STREAM_REC_ROOT_PATH=/home/stream-rec + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=15275 + +# NextAuth 加密密钥 [必填] +NEXTAUTH_SECRET= + +# API 地址 [必填] +API_URL=http://stream-rec-backend:12555/api + +# WebSocket API 地址 [必填] +WS_API_URL=ws://stream-rec-backend:12555/live/update + +# NextAuth 服务器地址 [必填] +NEXTAUTH_URL=http://localhost:15275/ + diff --git a/appstore/stream-rec-frontend/main/data.yml b/appstore/stream-rec-frontend/main/data.yml new file mode 100644 index 00000000..c90bf428 --- /dev/null +++ b/appstore/stream-rec-frontend/main/data.yml @@ -0,0 +1,46 @@ +additionalProperties: + formFields: + - default: "/home/stream-rec" + edit: true + envKey: STREAM_REC_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 15275 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: "" + edit: true + envKey: NEXTAUTH_SECRET + labelZh: NextAuth 加密密钥 + labelEn: NextAuth Secret + required: true + random: true + type: text + - default: "http://stream-rec-backend:12555/api" + edit: true + envKey: API_URL + labelZh: API 地址 + labelEn: API URL + required: true + type: text + - default: "ws://stream-rec-backend:12555/live/update" + edit: true + envKey: WS_API_URL + labelZh: WebSocket API 地址 + labelEn: WebSocket API URL + required: true + type: text + - default: "http://localhost:15275/" + edit: true + envKey: NEXTAUTH_URL + labelZh: NextAuth 服务器地址 + labelEn: NextAuth Server URL + required: true + type: text diff --git a/appstore/stream-rec-frontend/main/docker-compose.yml b/appstore/stream-rec-frontend/main/docker-compose.yml new file mode 100644 index 00000000..adf7b34f --- /dev/null +++ b/appstore/stream-rec-frontend/main/docker-compose.yml @@ -0,0 +1,17 @@ +networks: + 1panel-network: + external: true +services: + stream-rec-frontend: + container_name: stream-rec-frontend + env_file: + - ./envs/global.env + - .env + image: streamrec/stream-rec-front:main + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:15275 + restart: always diff --git a/appstore/stream-rec-frontend/main/envs/default.env b/appstore/stream-rec-frontend/main/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/appstore/stream-rec-frontend/main/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/stream-rec-frontend/main/envs/global.env b/appstore/stream-rec-frontend/main/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/appstore/stream-rec-frontend/main/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/stream-rec-frontend/main/scripts/init.sh b/appstore/stream-rec-frontend/main/scripts/init.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/stream-rec-frontend/main/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/appstore/stream-rec-frontend/main/scripts/uninstall.sh b/appstore/stream-rec-frontend/main/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/appstore/stream-rec-frontend/main/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/appstore/stream-rec-frontend/main/scripts/upgrade.sh b/appstore/stream-rec-frontend/main/scripts/upgrade.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/stream-rec-frontend/main/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 diff --git a/appstore/stream-rec/main/.env b/appstore/stream-rec/main/.env new file mode 100644 index 00000000..2b1c26e4 --- /dev/null +++ b/appstore/stream-rec/main/.env @@ -0,0 +1,27 @@ +# 数据持久化路径 [必填] +STREAM_REC_ROOT_PATH=/home/stream-rec + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=15275 + +# API 端口 [必填] +PANEL_APP_PORT_API=12555 + +# 默认用户名 [必填] +LOGIN_USERNAME=stream-rec + +# 登录密码 (初始化) [必填] +LOGIN_SECRET=stream-rec + +# 加密密钥 [必填] +AUTH_SECRET= + +# 访问域名 [必填] +NEXT_PUBLIC_BASE_URL=http://127.0.0.1:15275 + +# WebSocket API 地址 [必填] +WS_API_URL=ws://127.0.0.1:12555/live/update + +# 网络代理 +HTTP_PROXY= + diff --git a/appstore/stream-rec/main/data.yml b/appstore/stream-rec/main/data.yml new file mode 100644 index 00000000..44a51650 --- /dev/null +++ b/appstore/stream-rec/main/data.yml @@ -0,0 +1,69 @@ +additionalProperties: + formFields: + - default: "/home/stream-rec" + edit: true + envKey: STREAM_REC_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 15275 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: 12555 + edit: true + envKey: PANEL_APP_PORT_API + labelZh: API 端口 + labelEn: API port + required: true + rule: paramPort + type: number + - default: "stream-rec" + disabled: true + envKey: LOGIN_USERNAME + labelZh: 默认用户名 + labelEn: Default Username + required: true + type: text + - default: "stream-rec" + edit: false + envKey: LOGIN_SECRET + labelZh: 登录密码 (初始化) + labelEn: Login Password (Initialization) + required: true + random: true + type: password + - default: "" + edit: true + envKey: AUTH_SECRET + labelZh: 加密密钥 + labelEn: Encryption Key + required: true + random: true + type: text + - default: "http://127.0.0.1:15275" + edit: true + envKey: NEXT_PUBLIC_BASE_URL + labelZh: 访问域名 + labelEn: Access Domain + required: true + type: text + - default: "ws://127.0.0.1:12555/live/update" + edit: true + envKey: WS_API_URL + labelZh: WebSocket API 地址 + labelEn: WebSocket API URL + required: true + type: text + - default: "" + edit: true + envKey: HTTP_PROXY + labelZh: 网络代理 + labelEn: Network Proxy + required: false + type: text diff --git a/appstore/stream-rec/main/docker-compose.yml b/appstore/stream-rec/main/docker-compose.yml new file mode 100644 index 00000000..453e6ea7 --- /dev/null +++ b/appstore/stream-rec/main/docker-compose.yml @@ -0,0 +1,46 @@ +networks: + 1panel-network: + external: true +services: + stream-rec-backend: + container_name: stream-rec-backend + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - HTTPS_PROXY=${HTTP_PROXY} + - LOG_LEVEL=INFO + - DB_PATH=/opt/records + - DOWNLOAD_PATH=/download + - PGID=1000 + - PUID=1000 + image: streamrec/stream-rec:main + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_API}:12555 + restart: always + volumes: + - ${STREAM_REC_ROOT_PATH}/records:/opt/records + - ${STREAM_REC_ROOT_PATH}/download:/download + stream-rec-frontend: + container_name: stream-rec + depends_on: + - stream-rec-backend + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - API_URL=http://stream-rec-backend:12555/api + image: streamrec/stream-rec-front:main + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:15275 + restart: always diff --git a/appstore/stream-rec/main/envs/default.env b/appstore/stream-rec/main/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/appstore/stream-rec/main/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/stream-rec/main/envs/global.env b/appstore/stream-rec/main/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/appstore/stream-rec/main/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/stream-rec/main/scripts/init.sh b/appstore/stream-rec/main/scripts/init.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/stream-rec/main/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/appstore/stream-rec/main/scripts/uninstall.sh b/appstore/stream-rec/main/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/appstore/stream-rec/main/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/appstore/stream-rec/main/scripts/upgrade.sh b/appstore/stream-rec/main/scripts/upgrade.sh new file mode 100644 index 00000000..07fb8c3f --- /dev/null +++ b/appstore/stream-rec/main/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 diff --git a/appstore/super-productivity/11.1.3/.env b/appstore/super-productivity/11.1.3/.env new file mode 100644 index 00000000..67b1f21c --- /dev/null +++ b/appstore/super-productivity/11.1.3/.env @@ -0,0 +1,6 @@ +# 数据持久化路径 [必填] +SUPER_PRODUCTIVITY_ROOT_PATH=/home/super-productivity + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8080 + diff --git a/appstore/super-productivity/11.1.3/conf/webdav.yaml b/appstore/super-productivity/11.1.3/conf/webdav.yaml new file mode 100644 index 00000000..629109a8 --- /dev/null +++ b/appstore/super-productivity/11.1.3/conf/webdav.yaml @@ -0,0 +1,13 @@ +address: 0.0.0.0 +port: 80 + +prefix: / +permissions: CRUD + +users: + - username: alice + password: alicepassword + directory: /data/alice + - username: bob + password: bobpassword + directory: /data/bob diff --git a/appstore/super-productivity/11.1.3/data.yml b/appstore/super-productivity/11.1.3/data.yml new file mode 100644 index 00000000..f40ef60a --- /dev/null +++ b/appstore/super-productivity/11.1.3/data.yml @@ -0,0 +1,17 @@ +additionalProperties: + formFields: + - default: "/home/super-productivity" + edit: true + envKey: SUPER_PRODUCTIVITY_ROOT_PATH + labelZh: 数据持久化路径 + labelEn: Data persistence path + required: true + type: text + - default: 8080 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number diff --git a/appstore/super-productivity/11.1.3/docker-compose.yml b/appstore/super-productivity/11.1.3/docker-compose.yml new file mode 100644 index 00000000..70892fc6 --- /dev/null +++ b/appstore/super-productivity/11.1.3/docker-compose.yml @@ -0,0 +1,31 @@ +networks: + 1panel-network: + external: true +services: + sp-webdav: + env_file: + - ./envs/global.env + - .env + image: hacdias/webdav:latest + networks: + - 1panel-network + restart: always + volumes: + - ${SUPER_PRODUCTIVITY_ROOT_PATH}/config/webdav.yaml:/config.yml + - ${SUPER_PRODUCTIVITY_ROOT_PATH}/data:/data + super-productivity: + container_name: super-productivity + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - WEBDAV_BACKEND=http://sp-webdav + image: johannesjo/super-productivity:v11.1.3 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:80 + restart: always diff --git a/appstore/super-productivity/11.1.3/envs/default.env b/appstore/super-productivity/11.1.3/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/appstore/super-productivity/11.1.3/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/super-productivity/11.1.3/envs/global.env b/appstore/super-productivity/11.1.3/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/appstore/super-productivity/11.1.3/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/super-productivity/11.1.3/scripts/init.sh b/appstore/super-productivity/11.1.3/scripts/init.sh new file mode 100644 index 00000000..16af78ff --- /dev/null +++ b/appstore/super-productivity/11.1.3/scripts/init.sh @@ -0,0 +1,23 @@ +#!/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 + + mkdir -p "$SUPER_PRODUCTIVITY_ROOT_PATH" + mkdir -p "$SUPER_PRODUCTIVITY_ROOT_PATH/data" + mkdir -p "$SUPER_PRODUCTIVITY_ROOT_PATH/config" + + cp ./conf/webdav.yaml "$SUPER_PRODUCTIVITY_ROOT_PATH/config/webdav.yaml" + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/super-productivity/11.1.3/scripts/uninstall.sh b/appstore/super-productivity/11.1.3/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/appstore/super-productivity/11.1.3/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/appstore/super-productivity/11.1.3/scripts/upgrade.sh b/appstore/super-productivity/11.1.3/scripts/upgrade.sh new file mode 100644 index 00000000..c49abea9 --- /dev/null +++ b/appstore/super-productivity/11.1.3/scripts/upgrade.sh @@ -0,0 +1,25 @@ +#!/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 + + mkdir -p "$SUPER_PRODUCTIVITY_ROOT_PATH" + mkdir -p "$SUPER_PRODUCTIVITY_ROOT_PATH/data" + mkdir -p "$SUPER_PRODUCTIVITY_ROOT_PATH/config" + + if [ ! -f "$SUPER_PRODUCTIVITY_ROOT_PATH/app/glance.yml" ]; then + cp ./conf/webdav.yaml "$SUPER_PRODUCTIVITY_ROOT_PATH/config/webdav.yaml" + fi + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/appstore/super-productivity/README.md b/appstore/super-productivity/README.md new file mode 100644 index 00000000..3658f162 --- /dev/null +++ b/appstore/super-productivity/README.md @@ -0,0 +1,27 @@ +# Super Productivity + +一个高级TODO列表应用程序,具有时间框和时间跟踪功能,该应用程序支持您的日历,JIRA,GITHUB等导入任务 + +![Super Productivity](https://file.lifebus.top/imgs/super-productivity_cover.png) + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 简介 + +- **保持条理清晰和专注!** 使用子任务、项目和标签来计划和分类您的任务,并根据需要对它们进行颜色编码。 +- 使用**时间盒**和**跟踪您的时间**。轻松创建工时表和工作摘要,以便将其轻松导出到您公司的工时跟踪系统。 +- 帮助您**建立健康且高效的习惯**: + - **休息提醒**会在该离开的时候提醒您。 + - **反拖延功能**在您确实需要时帮助您获得新的视角。 + - 需要更加专注?**番茄钟计时器**也总是触手可及。 + - **收集个人指标**以查看哪些工作例程需要调整。 +- 与**Jira**、**GitHub**、**GitLab**、**Gitea**和**OpenProject**集成。自动导入分配给您的任务,在本地详细规划,自动生成工作日志,并在有变化时立即得到通知。 +- 基本的[**CalDAV**](https://github.com/johannesjo/super-productivity/blob/master/docs/caldav.md)集成。 +- 使用**Dropbox**和**WebDAV**支持备份并在多个设备间同步您的数据。 +- 将上下文信息附加到任务和项目。创建**笔记**,附加**文件**或为链接、文件甚至命令创建**项目级别的书签**。 +- Super Productivity**尊重您的隐私**且**不会收集任何数据**,并且没有用户账户或注册要求。**由您决定数据存储的位置!** +- 它是**免费**且**开源**的,并且永远都是。 + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/appstore/super-productivity/data.yml b/appstore/super-productivity/data.yml new file mode 100644 index 00000000..7d1787b5 --- /dev/null +++ b/appstore/super-productivity/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: super-productivity + name: Super Productivity + tags: + - WebSite + - Local + shortDescZh: 一个高级TODO列表应用程序,具有时间框和时间跟踪功能,该应用程序支持您的日历,JIRA,GITHUB等导入任务 + shortDescEn: An advanced TODO list application with time boxing and time tracking features that supports importing tasks from your calendar, JIRA, GITHUB, etc. + type: website + crossVersionUpdate: true + limit: 0 + website: https://super-productivity.com/ + github: https://github.com/johannesjo/super-productivity/ + document: https://super-productivity.com/ diff --git a/appstore/super-productivity/logo.png b/appstore/super-productivity/logo.png new file mode 100644 index 00000000..4d2faaaf Binary files /dev/null and b/appstore/super-productivity/logo.png differ diff --git a/dockge/jellyfin/docker-compose.yml b/dockge/jellyfin/docker-compose.yml index 4807397a..92e6f6fa 100644 --- a/dockge/jellyfin/docker-compose.yml +++ b/dockge/jellyfin/docker-compose.yml @@ -10,7 +10,7 @@ services: - ROC_ENABLE_PRE_VEGA=1 - HTTPS_PROXY=${HTTP_PROXY:-} - NO_PROXY=localhost,127.0.0.1,::1 - image: jellyfin/jellyfin:10.10.5 + image: jellyfin/jellyfin:10.10.6 labels: createdBy: Apps network_mode: ${NETWORK_MODE} diff --git a/dockge/onedev/docker-compose.yml b/dockge/onedev/docker-compose.yml index 2a629eb7..9eaea835 100644 --- a/dockge/onedev/docker-compose.yml +++ b/dockge/onedev/docker-compose.yml @@ -14,7 +14,7 @@ services: - initial_email=${INITIAL_EMAIL} - initial_server_url=${INITIAL_SERVER_URL} - initial_ssh_root_url=${INITIAL_SSH_ROOT_URL} - image: 1dev/server:11.6.14 + image: 1dev/server:11.6.15 labels: createdBy: Apps networks: diff --git a/dockge/stream-rec-backend_main/.env b/dockge/stream-rec-backend_main/.env new file mode 100644 index 00000000..0362943f --- /dev/null +++ b/dockge/stream-rec-backend_main/.env @@ -0,0 +1,12 @@ +# 数据持久化路径 [必填] +STREAM_REC_ROOT_PATH=/home/stream-rec + +# API 端口 [必填] +PANEL_APP_PORT_HTTP=12555 + +# 登录密码 (初始化) [必填] +LOGIN_SECRET=stream-rec + +# 网络代理 +HTTP_PROXY= + diff --git a/dockge/stream-rec-backend_main/docker-compose.yml b/dockge/stream-rec-backend_main/docker-compose.yml new file mode 100644 index 00000000..cca1bacc --- /dev/null +++ b/dockge/stream-rec-backend_main/docker-compose.yml @@ -0,0 +1,24 @@ +networks: + 1panel-network: + external: true +services: + stream-rec-backend: + container_name: stream-rec-backend + env_file: + - ./envs/global.env + - .env + environment: + - LOG_LEVEL=INFO + - DB_PATH=/opt/records + - DOWNLOAD_PATH=/download + image: streamrec/stream-rec:main + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:12555 + restart: always + volumes: + - ${STREAM_REC_ROOT_PATH}/records:/opt/records + - ${STREAM_REC_ROOT_PATH}/download:/download diff --git a/dockge/stream-rec-backend_main/envs/default.env b/dockge/stream-rec-backend_main/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/dockge/stream-rec-backend_main/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/stream-rec-backend_main/envs/global.env b/dockge/stream-rec-backend_main/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/dockge/stream-rec-backend_main/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/stream-rec-frontend_main/.env b/dockge/stream-rec-frontend_main/.env new file mode 100644 index 00000000..30b031d3 --- /dev/null +++ b/dockge/stream-rec-frontend_main/.env @@ -0,0 +1,18 @@ +# 数据持久化路径 [必填] +STREAM_REC_ROOT_PATH=/home/stream-rec + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=15275 + +# NextAuth 加密密钥 [必填] +NEXTAUTH_SECRET= + +# API 地址 [必填] +API_URL=http://stream-rec-backend:12555/api + +# WebSocket API 地址 [必填] +WS_API_URL=ws://stream-rec-backend:12555/live/update + +# NextAuth 服务器地址 [必填] +NEXTAUTH_URL=http://localhost:15275/ + diff --git a/dockge/stream-rec-frontend_main/docker-compose.yml b/dockge/stream-rec-frontend_main/docker-compose.yml new file mode 100644 index 00000000..adf7b34f --- /dev/null +++ b/dockge/stream-rec-frontend_main/docker-compose.yml @@ -0,0 +1,17 @@ +networks: + 1panel-network: + external: true +services: + stream-rec-frontend: + container_name: stream-rec-frontend + env_file: + - ./envs/global.env + - .env + image: streamrec/stream-rec-front:main + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:15275 + restart: always diff --git a/dockge/stream-rec-frontend_main/envs/default.env b/dockge/stream-rec-frontend_main/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/dockge/stream-rec-frontend_main/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/stream-rec-frontend_main/envs/global.env b/dockge/stream-rec-frontend_main/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/dockge/stream-rec-frontend_main/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/stream-rec_main/.env b/dockge/stream-rec_main/.env new file mode 100644 index 00000000..2b1c26e4 --- /dev/null +++ b/dockge/stream-rec_main/.env @@ -0,0 +1,27 @@ +# 数据持久化路径 [必填] +STREAM_REC_ROOT_PATH=/home/stream-rec + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=15275 + +# API 端口 [必填] +PANEL_APP_PORT_API=12555 + +# 默认用户名 [必填] +LOGIN_USERNAME=stream-rec + +# 登录密码 (初始化) [必填] +LOGIN_SECRET=stream-rec + +# 加密密钥 [必填] +AUTH_SECRET= + +# 访问域名 [必填] +NEXT_PUBLIC_BASE_URL=http://127.0.0.1:15275 + +# WebSocket API 地址 [必填] +WS_API_URL=ws://127.0.0.1:12555/live/update + +# 网络代理 +HTTP_PROXY= + diff --git a/dockge/stream-rec_main/docker-compose.yml b/dockge/stream-rec_main/docker-compose.yml new file mode 100644 index 00000000..453e6ea7 --- /dev/null +++ b/dockge/stream-rec_main/docker-compose.yml @@ -0,0 +1,46 @@ +networks: + 1panel-network: + external: true +services: + stream-rec-backend: + container_name: stream-rec-backend + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - HTTPS_PROXY=${HTTP_PROXY} + - LOG_LEVEL=INFO + - DB_PATH=/opt/records + - DOWNLOAD_PATH=/download + - PGID=1000 + - PUID=1000 + image: streamrec/stream-rec:main + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_API}:12555 + restart: always + volumes: + - ${STREAM_REC_ROOT_PATH}/records:/opt/records + - ${STREAM_REC_ROOT_PATH}/download:/download + stream-rec-frontend: + container_name: stream-rec + depends_on: + - stream-rec-backend + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - API_URL=http://stream-rec-backend:12555/api + image: streamrec/stream-rec-front:main + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:15275 + restart: always diff --git a/dockge/stream-rec_main/envs/default.env b/dockge/stream-rec_main/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/dockge/stream-rec_main/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/stream-rec_main/envs/global.env b/dockge/stream-rec_main/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/dockge/stream-rec_main/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/super-productivity/.env b/dockge/super-productivity/.env new file mode 100644 index 00000000..67b1f21c --- /dev/null +++ b/dockge/super-productivity/.env @@ -0,0 +1,6 @@ +# 数据持久化路径 [必填] +SUPER_PRODUCTIVITY_ROOT_PATH=/home/super-productivity + +# WebUI 端口 [必填] +PANEL_APP_PORT_HTTP=8080 + diff --git a/dockge/super-productivity/conf/webdav.yaml b/dockge/super-productivity/conf/webdav.yaml new file mode 100644 index 00000000..629109a8 --- /dev/null +++ b/dockge/super-productivity/conf/webdav.yaml @@ -0,0 +1,13 @@ +address: 0.0.0.0 +port: 80 + +prefix: / +permissions: CRUD + +users: + - username: alice + password: alicepassword + directory: /data/alice + - username: bob + password: bobpassword + directory: /data/bob diff --git a/dockge/super-productivity/docker-compose.yml b/dockge/super-productivity/docker-compose.yml new file mode 100644 index 00000000..70892fc6 --- /dev/null +++ b/dockge/super-productivity/docker-compose.yml @@ -0,0 +1,31 @@ +networks: + 1panel-network: + external: true +services: + sp-webdav: + env_file: + - ./envs/global.env + - .env + image: hacdias/webdav:latest + networks: + - 1panel-network + restart: always + volumes: + - ${SUPER_PRODUCTIVITY_ROOT_PATH}/config/webdav.yaml:/config.yml + - ${SUPER_PRODUCTIVITY_ROOT_PATH}/data:/data + super-productivity: + container_name: super-productivity + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - WEBDAV_BACKEND=http://sp-webdav + image: johannesjo/super-productivity:v11.1.3 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:80 + restart: always diff --git a/dockge/super-productivity/envs/default.env b/dockge/super-productivity/envs/default.env new file mode 100644 index 00000000..cd05f46e --- /dev/null +++ b/dockge/super-productivity/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/super-productivity/envs/global.env b/dockge/super-productivity/envs/global.env new file mode 100644 index 00000000..e10989fe --- /dev/null +++ b/dockge/super-productivity/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai