diff --git a/appstore/smtp-proxy-server/0.9.1/.env b/appstore/smtp-proxy-server/0.9.1/.env new file mode 100644 index 000000000..4e70c1efc --- /dev/null +++ b/appstore/smtp-proxy-server/0.9.1/.env @@ -0,0 +1,9 @@ +# SMTP 端口 [必填] +PANEL_APP_PORT_SMTP=8025 + +# IMAP 端口 [必填] +PANEL_APP_PORT_IMAP=11143 + +# 服务地址 [必填] +PROXY_URL= + diff --git a/appstore/smtp-proxy-server/0.9.1/data.yml b/appstore/smtp-proxy-server/0.9.1/data.yml new file mode 100644 index 000000000..5b699d17d --- /dev/null +++ b/appstore/smtp-proxy-server/0.9.1/data.yml @@ -0,0 +1,25 @@ +additionalProperties: + formFields: + - default: 8025 + edit: true + envKey: PANEL_APP_PORT_SMTP + labelZh: SMTP 端口 + labelEn: SMTP port + required: true + rule: paramPort + type: number + - default: 11143 + edit: true + envKey: PANEL_APP_PORT_IMAP + labelZh: IMAP 端口 + labelEn: IMAP port + required: true + rule: paramPort + type: number + - default: "" + edit: true + envKey: PROXY_URL + labelZh: 服务地址 + labelEn: Server Address + required: true + type: text diff --git a/appstore/smtp-proxy-server/0.9.1/docker-compose.yml b/appstore/smtp-proxy-server/0.9.1/docker-compose.yml new file mode 100644 index 000000000..fc40f793f --- /dev/null +++ b/appstore/smtp-proxy-server/0.9.1/docker-compose.yml @@ -0,0 +1,23 @@ +networks: + 1panel-network: + external: true +services: + smtp_proxy_server: + container_name: smtp-proxy-server + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - proxy_url=${PROXY_URL} + - port=${PANEL_APP_PORT_SMTP} + - imap_port=${PANEL_APP_PORT_IMAP} + image: ghcr.io/dreamhunter2333/cloudflare_temp_email/smtp_proxy_server:v0.9.1 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_SMTP}:${PANEL_APP_PORT_SMTP} + - ${PANEL_APP_PORT_IMAP}:${PANEL_APP_PORT_IMAP} + restart: always diff --git a/appstore/smtp-proxy-server/0.9.1/envs/default.env b/appstore/smtp-proxy-server/0.9.1/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/smtp-proxy-server/0.9.1/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/smtp-proxy-server/0.9.1/envs/global.env b/appstore/smtp-proxy-server/0.9.1/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/smtp-proxy-server/0.9.1/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/smtp-proxy-server/0.9.1/scripts/init.sh b/appstore/smtp-proxy-server/0.9.1/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/smtp-proxy-server/0.9.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/appstore/smtp-proxy-server/0.9.1/scripts/uninstall.sh b/appstore/smtp-proxy-server/0.9.1/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/smtp-proxy-server/0.9.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/appstore/smtp-proxy-server/0.9.1/scripts/upgrade.sh b/appstore/smtp-proxy-server/0.9.1/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/smtp-proxy-server/0.9.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 diff --git a/appstore/smtp-proxy-server/README.md b/appstore/smtp-proxy-server/README.md new file mode 100644 index 000000000..e9d52416f --- /dev/null +++ b/appstore/smtp-proxy-server/README.md @@ -0,0 +1,15 @@ +# 临时邮箱 (代理服务) + +搭建 CloudFlare 免费收发 临时域名邮箱 + +![临时邮箱 (代理服务)](https://file.lifebus.top/imgs/smtp-proxy-server.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) + +## 简介 + +临时邮箱 + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/appstore/smtp-proxy-server/data.yml b/appstore/smtp-proxy-server/data.yml new file mode 100644 index 000000000..367e76d4a --- /dev/null +++ b/appstore/smtp-proxy-server/data.yml @@ -0,0 +1,14 @@ +additionalProperties: + key: smtp-proxy-server + name: 临时邮箱 (代理服务) + tags: + - WebSite + - Local + shortDescZh: 搭建 CloudFlare 免费收发 临时域名邮箱 + shortDescEn: Build CloudFlare to send and receive temporary domain name emails for free + type: website + crossVersionUpdate: true + limit: 0 + website: https://temp-mail-docs.awsl.uk/ + github: https://github.com/dreamhunter2333/cloudflare_temp_email/ + document: https://temp-mail-docs.awsl.uk/ diff --git a/appstore/smtp-proxy-server/logo.png b/appstore/smtp-proxy-server/logo.png new file mode 100644 index 000000000..2512e2b9c Binary files /dev/null and b/appstore/smtp-proxy-server/logo.png differ diff --git a/appstore/stream-rec/0.7.2/docker-compose.yml b/appstore/stream-rec/0.7.2/docker-compose.yml index 37ce2ab40..03a278089 100644 --- a/appstore/stream-rec/0.7.2/docker-compose.yml +++ b/appstore/stream-rec/0.7.2/docker-compose.yml @@ -25,6 +25,7 @@ services: restart: always volumes: - ${STREAM_REC_ROOT_PATH}/records:/opt/records + - ${STREAM_REC_ROOT_PATH}/rclone:/root/.config/rclone - ${STREAM_REC_ROOT_PATH}/download:/download stream-rec-frontend: container_name: stream-rec diff --git a/appstore/stream-rec/dev/.env b/appstore/stream-rec/dev/.env new file mode 100644 index 000000000..2b1c26e47 --- /dev/null +++ b/appstore/stream-rec/dev/.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/dev/data.yml b/appstore/stream-rec/dev/data.yml new file mode 100644 index 000000000..44a51650b --- /dev/null +++ b/appstore/stream-rec/dev/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/dev/docker-compose.yml b/appstore/stream-rec/dev/docker-compose.yml new file mode 100644 index 000000000..8465b7136 --- /dev/null +++ b/appstore/stream-rec/dev/docker-compose.yml @@ -0,0 +1,47 @@ +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:dev + 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}/rclone:/root/.config/rclone + - ${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:dev + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:15275 + restart: always diff --git a/appstore/stream-rec/dev/envs/default.env b/appstore/stream-rec/dev/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/stream-rec/dev/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/stream-rec/dev/envs/global.env b/appstore/stream-rec/dev/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/stream-rec/dev/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/stream-rec/dev/scripts/init.sh b/appstore/stream-rec/dev/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/stream-rec/dev/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/dev/scripts/uninstall.sh b/appstore/stream-rec/dev/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/stream-rec/dev/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/dev/scripts/upgrade.sh b/appstore/stream-rec/dev/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/stream-rec/dev/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/latest/.env b/appstore/stream-rec/latest/.env new file mode 100644 index 000000000..2b1c26e47 --- /dev/null +++ b/appstore/stream-rec/latest/.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/latest/data.yml b/appstore/stream-rec/latest/data.yml new file mode 100644 index 000000000..44a51650b --- /dev/null +++ b/appstore/stream-rec/latest/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/latest/docker-compose.yml b/appstore/stream-rec/latest/docker-compose.yml new file mode 100644 index 000000000..cadb92c75 --- /dev/null +++ b/appstore/stream-rec/latest/docker-compose.yml @@ -0,0 +1,47 @@ +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:latest + 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}/rclone:/root/.config/rclone + - ${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:latest + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:15275 + restart: always diff --git a/appstore/stream-rec/latest/envs/default.env b/appstore/stream-rec/latest/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/appstore/stream-rec/latest/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/appstore/stream-rec/latest/envs/global.env b/appstore/stream-rec/latest/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/appstore/stream-rec/latest/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/appstore/stream-rec/latest/scripts/init.sh b/appstore/stream-rec/latest/scripts/init.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/stream-rec/latest/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/latest/scripts/uninstall.sh b/appstore/stream-rec/latest/scripts/uninstall.sh new file mode 100644 index 000000000..c86c4fbca --- /dev/null +++ b/appstore/stream-rec/latest/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/latest/scripts/upgrade.sh b/appstore/stream-rec/latest/scripts/upgrade.sh new file mode 100644 index 000000000..07fb8c3fe --- /dev/null +++ b/appstore/stream-rec/latest/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/docker-compose.yml b/appstore/stream-rec/main/docker-compose.yml index 453e6ea75..4076f23a1 100644 --- a/appstore/stream-rec/main/docker-compose.yml +++ b/appstore/stream-rec/main/docker-compose.yml @@ -25,6 +25,7 @@ services: restart: always volumes: - ${STREAM_REC_ROOT_PATH}/records:/opt/records + - ${STREAM_REC_ROOT_PATH}/rclone:/root/.config/rclone - ${STREAM_REC_ROOT_PATH}/download:/download stream-rec-frontend: container_name: stream-rec diff --git a/dockge/smtp-proxy-server/.env b/dockge/smtp-proxy-server/.env new file mode 100644 index 000000000..4e70c1efc --- /dev/null +++ b/dockge/smtp-proxy-server/.env @@ -0,0 +1,9 @@ +# SMTP 端口 [必填] +PANEL_APP_PORT_SMTP=8025 + +# IMAP 端口 [必填] +PANEL_APP_PORT_IMAP=11143 + +# 服务地址 [必填] +PROXY_URL= + diff --git a/dockge/smtp-proxy-server/docker-compose.yml b/dockge/smtp-proxy-server/docker-compose.yml new file mode 100644 index 000000000..fc40f793f --- /dev/null +++ b/dockge/smtp-proxy-server/docker-compose.yml @@ -0,0 +1,23 @@ +networks: + 1panel-network: + external: true +services: + smtp_proxy_server: + container_name: smtp-proxy-server + env_file: + - ./envs/global.env + - .env + environment: + - TZ=Asia/Shanghai + - proxy_url=${PROXY_URL} + - port=${PANEL_APP_PORT_SMTP} + - imap_port=${PANEL_APP_PORT_IMAP} + image: ghcr.io/dreamhunter2333/cloudflare_temp_email/smtp_proxy_server:v0.9.1 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_SMTP}:${PANEL_APP_PORT_SMTP} + - ${PANEL_APP_PORT_IMAP}:${PANEL_APP_PORT_IMAP} + restart: always diff --git a/dockge/smtp-proxy-server/envs/default.env b/dockge/smtp-proxy-server/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/smtp-proxy-server/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/smtp-proxy-server/envs/global.env b/dockge/smtp-proxy-server/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/smtp-proxy-server/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/stream-rec/docker-compose.yml b/dockge/stream-rec/docker-compose.yml index 37ce2ab40..8465b7136 100644 --- a/dockge/stream-rec/docker-compose.yml +++ b/dockge/stream-rec/docker-compose.yml @@ -15,7 +15,7 @@ services: - DOWNLOAD_PATH=/download - PGID=1000 - PUID=1000 - image: streamrec/stream-rec:v0.7.2 + image: streamrec/stream-rec:dev labels: createdBy: Apps networks: @@ -25,6 +25,7 @@ services: restart: always volumes: - ${STREAM_REC_ROOT_PATH}/records:/opt/records + - ${STREAM_REC_ROOT_PATH}/rclone:/root/.config/rclone - ${STREAM_REC_ROOT_PATH}/download:/download stream-rec-frontend: container_name: stream-rec @@ -36,7 +37,7 @@ services: environment: - TZ=Asia/Shanghai - API_URL=http://stream-rec-backend:12555/api - image: streamrec/stream-rec-front:v0.7.2 + image: streamrec/stream-rec-front:dev labels: createdBy: Apps networks: diff --git a/dockge/stream-rec_0_7_2/.env b/dockge/stream-rec_0_7_2/.env new file mode 100644 index 000000000..2b1c26e47 --- /dev/null +++ b/dockge/stream-rec_0_7_2/.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_0_7_2/docker-compose.yml b/dockge/stream-rec_0_7_2/docker-compose.yml new file mode 100644 index 000000000..03a278089 --- /dev/null +++ b/dockge/stream-rec_0_7_2/docker-compose.yml @@ -0,0 +1,47 @@ +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:v0.7.2 + 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}/rclone:/root/.config/rclone + - ${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:v0.7.2 + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:15275 + restart: always diff --git a/dockge/stream-rec_0_7_2/envs/default.env b/dockge/stream-rec_0_7_2/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/stream-rec_0_7_2/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/stream-rec_0_7_2/envs/global.env b/dockge/stream-rec_0_7_2/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/stream-rec_0_7_2/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/stream-rec_latest/.env b/dockge/stream-rec_latest/.env new file mode 100644 index 000000000..2b1c26e47 --- /dev/null +++ b/dockge/stream-rec_latest/.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_latest/docker-compose.yml b/dockge/stream-rec_latest/docker-compose.yml new file mode 100644 index 000000000..cadb92c75 --- /dev/null +++ b/dockge/stream-rec_latest/docker-compose.yml @@ -0,0 +1,47 @@ +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:latest + 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}/rclone:/root/.config/rclone + - ${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:latest + labels: + createdBy: Apps + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:15275 + restart: always diff --git a/dockge/stream-rec_latest/envs/default.env b/dockge/stream-rec_latest/envs/default.env new file mode 100644 index 000000000..cd05f46e6 --- /dev/null +++ b/dockge/stream-rec_latest/envs/default.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +ENV_FILE=.env diff --git a/dockge/stream-rec_latest/envs/global.env b/dockge/stream-rec_latest/envs/global.env new file mode 100644 index 000000000..e10989fe4 --- /dev/null +++ b/dockge/stream-rec_latest/envs/global.env @@ -0,0 +1,2 @@ +# copyright© 2024 XinJiang Ms Studio +TZ=Asia/Shanghai diff --git a/dockge/stream-rec_main/docker-compose.yml b/dockge/stream-rec_main/docker-compose.yml index 453e6ea75..4076f23a1 100644 --- a/dockge/stream-rec_main/docker-compose.yml +++ b/dockge/stream-rec_main/docker-compose.yml @@ -25,6 +25,7 @@ services: restart: always volumes: - ${STREAM_REC_ROOT_PATH}/records:/opt/records + - ${STREAM_REC_ROOT_PATH}/rclone:/root/.config/rclone - ${STREAM_REC_ROOT_PATH}/download:/download stream-rec-frontend: container_name: stream-rec