mirror of
https://github.com/QYG2297248353/appstore-dpanel
synced 2025-12-29 08:01:36 +08:00
Synced apps from source repository via GitHub Actions
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# Redis 服务 (前置检查)
|
||||
PANEL_REDIS_TYPE=redis
|
||||
|
||||
# WebUI 端口 [必填]
|
||||
PANEL_APP_PORT_HTTP=3000
|
||||
|
||||
# 网站名称 [必填]
|
||||
SITE_NAME=MoonTV
|
||||
|
||||
# 站点公告 [必填]
|
||||
ANNOUNCEMENT=本网站仅提供影视信息搜索服务,所有内容均来自第三方网站。本站不存储任何视频资源,不对任何内容的准确性、合法性、完整性负责。
|
||||
|
||||
# 搜索结果最大页数 [必填]
|
||||
NEXT_PUBLIC_SEARCH_MAX_PAGE=5
|
||||
|
||||
# 管理员用户名 [必填]
|
||||
USERNAME=
|
||||
|
||||
# 管理员密码 [必填]
|
||||
PASSWORD=
|
||||
|
||||
# 是否允许注册 [必填]
|
||||
NEXT_PUBLIC_ENABLE_REGISTER=false
|
||||
|
||||
# 关闭色情内容过滤 [必填]
|
||||
NEXT_PUBLIC_DISABLE_YELLOW_FILTER=false
|
||||
|
||||
# 数据存储类型 [必填]
|
||||
NEXT_PUBLIC_STORAGE_TYPE=redis
|
||||
|
||||
# Redis 地址 (Redis 存储)
|
||||
REDIS_URL=redis://127.0.0.1:6379
|
||||
|
||||
# Redis 地址 (Redis 存储)
|
||||
REDIS_URL=redis://127.0.0.1:6666
|
||||
|
||||
# Upstash 地址 (Upstash 存储)
|
||||
UPSTASH_URL=
|
||||
|
||||
# Upstash 授权码 (Upstash 存储)
|
||||
UPSTASH_TOKEN=
|
||||
|
||||
@@ -0,0 +1,127 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- child:
|
||||
default: ""
|
||||
envKey: PANEL_REDIS_SERVICE
|
||||
required: false
|
||||
type: service
|
||||
default: redis
|
||||
envKey: PANEL_REDIS_TYPE
|
||||
labelZh: Redis 服务 (前置检查)
|
||||
labelEn: Redis Service (Pre-check)
|
||||
required: false
|
||||
type: apps
|
||||
values:
|
||||
- label: Redis
|
||||
value: redis
|
||||
- label: Kvrocks
|
||||
value: kvrocks
|
||||
- default: 3000
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "MoonTV"
|
||||
edit: true
|
||||
envKey: SITE_NAME
|
||||
labelZh: 网站名称
|
||||
labelEn: Site Name
|
||||
required: true
|
||||
type: text
|
||||
- default: "本网站仅提供影视信息搜索服务,所有内容均来自第三方网站。本站不存储任何视频资源,不对任何内容的准确性、合法性、完整性负责。"
|
||||
edit: true
|
||||
envKey: ANNOUNCEMENT
|
||||
labelZh: 站点公告
|
||||
labelEn: Site Announcement
|
||||
required: true
|
||||
type: text
|
||||
- default: 5
|
||||
edit: true
|
||||
envKey: NEXT_PUBLIC_SEARCH_MAX_PAGE
|
||||
labelZh: 搜索结果最大页数
|
||||
labelEn: Search result maximum number of pages
|
||||
required: true
|
||||
type: number
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: USERNAME
|
||||
labelZh: 管理员用户名
|
||||
labelEn: Admin Username
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PASSWORD
|
||||
labelZh: 管理员密码
|
||||
labelEn: Admin Password
|
||||
required: true
|
||||
type: password
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: NEXT_PUBLIC_ENABLE_REGISTER
|
||||
labelZh: 是否允许注册
|
||||
labelEn: Enable Register
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 允许注册
|
||||
value: "true"
|
||||
- label: 禁用注册
|
||||
value: "false"
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: NEXT_PUBLIC_DISABLE_YELLOW_FILTER
|
||||
labelZh: 关闭色情内容过滤
|
||||
labelEn: Disable Yellow Filter
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 开启过滤
|
||||
value: "true"
|
||||
- label: 禁用过滤
|
||||
value: "false"
|
||||
- default: "redis"
|
||||
edit: true
|
||||
envKey: NEXT_PUBLIC_STORAGE_TYPE
|
||||
labelZh: 数据存储类型
|
||||
labelEn: Storage Type
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: Upstash
|
||||
value: "upstash"
|
||||
- label: Redis
|
||||
value: "redis"
|
||||
- label: Kvrocks
|
||||
value: "kvrocks"
|
||||
- default: "redis://127.0.0.1:6379"
|
||||
edit: true
|
||||
envKey: REDIS_URL
|
||||
labelZh: Redis 地址 (Redis 存储)
|
||||
labelEn: Redis Address (Redis Storage)
|
||||
required: false
|
||||
type: text
|
||||
- default: "redis://127.0.0.1:6666"
|
||||
edit: true
|
||||
envKey: REDIS_URL
|
||||
labelZh: Redis 地址 (Redis 存储)
|
||||
labelEn: Redis Address (Redis Storage)
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: UPSTASH_URL
|
||||
labelZh: Upstash 地址 (Upstash 存储)
|
||||
labelEn: Upstash Address (Upstash Storage)
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: UPSTASH_TOKEN
|
||||
labelZh: Upstash 授权码 (Upstash 存储)
|
||||
labelEn: Upstash Token (Upstash Storage)
|
||||
required: false
|
||||
type: password
|
||||
@@ -0,0 +1,19 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
services:
|
||||
moontv:
|
||||
container_name: moontv
|
||||
env_file:
|
||||
- ./envs/global.env
|
||||
- .env
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
image: ghcr.io/moontechlab/lunatv:3.1.1
|
||||
labels:
|
||||
createdBy: Apps
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:3000
|
||||
restart: always
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
ENV_FILE=.env
|
||||
@@ -0,0 +1,2 @@
|
||||
# copyright© 2024 XinJiang Ms Studio
|
||||
TZ=Asia/Shanghai
|
||||
@@ -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
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user