mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
@@ -97,6 +97,12 @@
|
|||||||
],
|
],
|
||||||
"allowedVersions": "/^8.4.*/"
|
"allowedVersions": "/^8.4.*/"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"matchFileNames": [
|
||||||
|
"apps/movie-pilot/2.7.3/*.yml"
|
||||||
|
],
|
||||||
|
"allowedVersions": "/^2.7.3/"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"matchFileNames": [
|
"matchFileNames": [
|
||||||
"apps/qbittorrent/4.*.*/*.yml"
|
"apps/qbittorrent/4.*.*/*.yml"
|
||||||
|
|||||||
@@ -1,63 +0,0 @@
|
|||||||
#######################################################################
|
|
||||||
# 【*】为必配项,其余为选配项,选配项可以删除整项配置项或者保留配置默认值 #
|
|
||||||
#######################################################################
|
|
||||||
# 【*】API监听地址(注意不是前端访问地址)
|
|
||||||
HOST=0.0.0.0
|
|
||||||
# 是否调试模式,打开后将输出更多日志
|
|
||||||
DEBUG=false
|
|
||||||
# 是否开发模式,打开后后台服务将不会启动
|
|
||||||
DEV=false
|
|
||||||
# 日志级别(DEBUG、INFO、WARNING、ERROR等),当DEBUG=true时,此配置项将被忽略,日志级别始终为DEBUG
|
|
||||||
LOG_LEVEL=INFO
|
|
||||||
# 数据库连接池的大小,可适当降低如20-50以减少I/O压力
|
|
||||||
DB_POOL_SIZE=100
|
|
||||||
# 数据库连接池最大溢出连接数,可适当降低如0以减少I/O压力
|
|
||||||
DB_MAX_OVERFLOW=500
|
|
||||||
# SQLite 的 busy_timeout 参数,可适当增加如180以减少锁定错误
|
|
||||||
DB_TIMEOUT=60
|
|
||||||
# 【*】超级管理员,设置后一但重启将固化到数据库中,修改将无效(初始化超级管理员密码仅会生成一次,请在日志中查看并自行登录系统修改)
|
|
||||||
SUPERUSER=admin
|
|
||||||
# 辅助认证,允许通过外部服务进行认证、单点登录以及自动创建用户
|
|
||||||
AUXILIARY_AUTH_ENABLE=false
|
|
||||||
# 大内存模式,开启后会增加缓存数量,但会占用更多内存
|
|
||||||
BIG_MEMORY_MODE=false
|
|
||||||
# 是否启用DOH域名解析,启用后对于api.themovie.org等域名通过DOH解析,避免域名DNS被污染
|
|
||||||
DOH_ENABLE=true
|
|
||||||
# 使用 DOH 解析的域名列表,多个域名使用`,`分隔
|
|
||||||
DOH_DOMAINS=api.themoviedb.org,api.tmdb.org,webservice.fanart.tv,api.github.com,github.com,raw.githubusercontent.com,api.telegram.org
|
|
||||||
# DOH 解析服务器列表,多个服务器使用`,`分隔
|
|
||||||
DOH_RESOLVERS=1.0.0.1,1.1.1.1,9.9.9.9,149.112.112.112
|
|
||||||
# 元数据识别缓存过期时间,数字型,单位小时,0为系统默认(大内存模式为7天,滞则为3天),调大该值可减少themoviedb的访问次数
|
|
||||||
META_CACHE_EXPIRE=0
|
|
||||||
# 自动检查和更新站点资源包(索引、认证等)
|
|
||||||
AUTO_UPDATE_RESOURCE=true
|
|
||||||
# 【*】API密钥,未设置时系统将随机生成,建议使用复杂字符串,用于Jellyseerr/Overseerr、媒体服务器Webhook等配置以及部分支持API_TOKEN的API请求
|
|
||||||
API_TOKEN=''
|
|
||||||
# 登录页面电影海报,tmdb/bing/mediaserver,tmdb要求能正常连接api.themoviedb.org
|
|
||||||
WALLPAPER=tmdb
|
|
||||||
# TMDB图片地址,无需修改需保留默认值,如果默认地址连通性不好可以尝试修改为:`static-mdb.v.geilijiasu.com`
|
|
||||||
TMDB_IMAGE_DOMAIN=image.tmdb.org
|
|
||||||
# TMDB API地址,无需修改需保留默认值,也可配置为`api.tmdb.org`或其它中转代理服务地址,能连通即可
|
|
||||||
TMDB_API_DOMAIN=api.themoviedb.org
|
|
||||||
# 媒体识别来源 themoviedb/douban,使用themoviedb时需要确保能正常连接api.themoviedb.org,使用douban时不支持二级分类
|
|
||||||
RECOGNIZE_SOURCE=themoviedb
|
|
||||||
# Fanart开关
|
|
||||||
FANART_ENABLE=true
|
|
||||||
# 新增已入库媒体是否跟随TMDB信息变化,true/false,为false时即使TMDB信息变化时也会仍然按历史记录中已入库的信息进行刮削
|
|
||||||
SCRAP_FOLLOW_TMDB=true
|
|
||||||
# 刮削来源 themoviedb/douban,使用themoviedb时需要确保能正常连接api.themoviedb.org,使用douban时会缺失部分信息
|
|
||||||
SCRAP_SOURCE=themoviedb
|
|
||||||
# 电影重命名格式,Jinja2语法,参考:https://jinja.palletsprojects.com/en/3.0.x/templates/
|
|
||||||
MOVIE_RENAME_FORMAT={{title}}{% if year %} ({{year}}){% endif %}/{{title}}{% if year %} ({{year}}){% endif %}{% if part %}-{{part}}{% endif %}{% if videoFormat %} - {{videoFormat}}{% endif %}{{fileExt}}
|
|
||||||
# 电视剧重命名格式,Jinja2语法,参考:https://jinja.palletsprojects.com/en/3.0.x/templates/
|
|
||||||
TV_RENAME_FORMAT={{title}}{% if year %} ({{year}}){% endif %}/Season {{season}}/{{title}} - {{season_episode}}{% if part %}-{{part}}{% endif %}{% if episode %} - 第 {{episode}} 集{% endif %}{{fileExt}}
|
|
||||||
# 交互搜索自动下载用户ID(消息通知渠道的用户ID),使用,分割,设置为 all 代表所有用户自动择优下载,未设置需要用户手动选择资源或者回复`0`才自动择优下载
|
|
||||||
AUTO_DOWNLOAD_USER=
|
|
||||||
# 自动下载站点字幕(如有)
|
|
||||||
DOWNLOAD_SUBTITLE=true
|
|
||||||
# OCR服务器地址
|
|
||||||
OCR_HOST=https://movie-pilot.org
|
|
||||||
# 插件市场仓库地址,多个地址使用`,`分隔,保留最后的/
|
|
||||||
PLUGIN_MARKET=https://github.com/jxxghp/MoviePilot-Plugins,https://github.com/thsrite/MoviePilot-Plugins,https://github.com/InfinityPacer/MoviePilot-Plugins,https://github.com/honue/MoviePilot-Plugins
|
|
||||||
# 搜索多个名称,true/false,为true时搜索时会同时搜索中英文及原始名称,搜索结果会更全面,但会增加搜索时间;为false时其中一个名称搜索到结果或全部名称搜索完毕即停止
|
|
||||||
SEARCH_MULTIPLE_NAME=true
|
|
||||||
@@ -1,5 +1,21 @@
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
formFields:
|
formFields:
|
||||||
|
- default: "1panel-network"
|
||||||
|
edit: true
|
||||||
|
envKey: NETWORK_MODE
|
||||||
|
labelZh: 网络模式
|
||||||
|
labelEn: Network Mode
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 主机网络模式
|
||||||
|
value: "host"
|
||||||
|
- label: 桥接网络模式
|
||||||
|
value: "bridge"
|
||||||
|
- label: 无网络模式
|
||||||
|
value: "none"
|
||||||
|
- label: 1panel-network
|
||||||
|
value: "1panel-network"
|
||||||
- default: "/home/movie-pilot"
|
- default: "/home/movie-pilot"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: MOVIEPILOT_ROOT_PATH
|
envKey: MOVIEPILOT_ROOT_PATH
|
||||||
@@ -45,22 +61,6 @@ additionalProperties:
|
|||||||
required: false
|
required: false
|
||||||
rule: paramExtUrl
|
rule: paramExtUrl
|
||||||
type: text
|
type: text
|
||||||
- default: "false"
|
|
||||||
edit: true
|
|
||||||
envKey: MOVIEPILOT_AUTO_UPDATE
|
|
||||||
labelZh: 重启时自动更新
|
|
||||||
labelEn: Auto Update on Restart
|
|
||||||
required: true
|
|
||||||
type: select
|
|
||||||
values:
|
|
||||||
- label: 开启
|
|
||||||
value: "true"
|
|
||||||
- label: 关闭
|
|
||||||
value: "false"
|
|
||||||
- label: 发布版
|
|
||||||
value: "release"
|
|
||||||
- label: 开发板
|
|
||||||
value: "dev"
|
|
||||||
- default: "false"
|
- default: "false"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: AUTO_UPDATE_RESOURCE
|
envKey: AUTO_UPDATE_RESOURCE
|
||||||
@@ -73,6 +73,22 @@ additionalProperties:
|
|||||||
value: "true"
|
value: "true"
|
||||||
- label: 关闭
|
- label: 关闭
|
||||||
value: "false"
|
value: "false"
|
||||||
|
- default: "false"
|
||||||
|
edit: true
|
||||||
|
envKey: MOVIEPILOT_AUTO_UPDATE
|
||||||
|
labelZh: 自动更新
|
||||||
|
labelEn: Auto Update
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 开启
|
||||||
|
value: "true"
|
||||||
|
- label: 发布版
|
||||||
|
value: "release"
|
||||||
|
- label: 测试版
|
||||||
|
value: "dev"
|
||||||
|
- label: 关闭
|
||||||
|
value: "false"
|
||||||
- default: ""
|
- default: ""
|
||||||
edit: true
|
edit: true
|
||||||
envKey: CUSTOM_MOUNT_DIRECTORY_1
|
envKey: CUSTOM_MOUNT_DIRECTORY_1
|
||||||
@@ -101,3 +117,73 @@ additionalProperties:
|
|||||||
labelZh: IYUU登录令牌
|
labelZh: IYUU登录令牌
|
||||||
required: false
|
required: false
|
||||||
type: password
|
type: password
|
||||||
|
- default: "cachetools"
|
||||||
|
edit: true
|
||||||
|
envKey: CACHE_BACKEND_TYPE
|
||||||
|
labelZh: 缓存类型
|
||||||
|
labelEn: Cache Backend Type
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 本地缓存
|
||||||
|
value: "cachetools"
|
||||||
|
- label: Redis
|
||||||
|
value: "redis"
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: CACHE_BACKEND_URL
|
||||||
|
labelZh: 缓存连接地址
|
||||||
|
labelEn: Cache Backend URL
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: "sqlite"
|
||||||
|
edit: true
|
||||||
|
envKey: DB_TYPE
|
||||||
|
labelZh: 数据库类型
|
||||||
|
labelEn: DataBase Type
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: SQLite
|
||||||
|
value: "sqlite"
|
||||||
|
- label: PostgreSQL
|
||||||
|
value: "postgresql"
|
||||||
|
- default: "127.0.0.1"
|
||||||
|
edit: true
|
||||||
|
envKey: DB_POSTGRESQL_HOST
|
||||||
|
labelZh: 数据库 主机地址
|
||||||
|
labelEn: Database Host
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: 5432
|
||||||
|
edit: true
|
||||||
|
envKey: DB_POSTGRESQL_PORT
|
||||||
|
labelZh: 数据库 端口
|
||||||
|
labelEn: Database Port
|
||||||
|
required: false
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "moviepilot"
|
||||||
|
edit: true
|
||||||
|
envKey: DB_POSTGRESQL_DATABASE
|
||||||
|
labelZh: 数据库 名称
|
||||||
|
labelEn: Database Name
|
||||||
|
required: false
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- default: "moviepilot"
|
||||||
|
edit: true
|
||||||
|
envKey: DB_POSTGRESQL_USERNAME
|
||||||
|
labelZh: 数据库 用户名
|
||||||
|
labelEn: Database Username
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: DB_POSTGRESQL_PASSWORD
|
||||||
|
labelZh: 数据库 密码
|
||||||
|
labelEn: Database Password
|
||||||
|
random: true
|
||||||
|
required: false
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
+11
-19
@@ -3,43 +3,35 @@ networks:
|
|||||||
external: true
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
movie-pilot-v2:
|
movie-pilot:
|
||||||
image: jxxghp/moviepilot-v2:2.7.3
|
image: jxxghp/moviepilot:2.7.4
|
||||||
container_name: ${CONTAINER_NAME}
|
container_name: ${CONTAINER_NAME}
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
restart: always
|
restart: always
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
networks:
|
network_mode: ${NETWORK_MODE}
|
||||||
- 1panel-network
|
|
||||||
ports:
|
ports:
|
||||||
- ${PANEL_APP_PORT_HTTP}:3000
|
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||||
- ${PANEL_APP_PORT_API}:3001
|
- ${PANEL_APP_PORT_API}:${PANEL_APP_PORT_API}
|
||||||
env_file:
|
env_file:
|
||||||
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
|
||||||
- ${APP_ENV_FILE:-/etc/1panel/envs/movie-pilot/movie-pilot2.env}
|
|
||||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- ${MOVIEPILOT_ROOT_PATH}/config:/config
|
- ${MOVIEPILOT_ROOT_PATH}/config:/config
|
||||||
- ${MOVIEPILOT_ROOT_PATH}/ms-playwright:/moviepilot/.cache/ms-playwright
|
- ${MOVIEPILOT_ROOT_PATH}/moviepilot:/moviepilot
|
||||||
- ${MOVIEPILOT_ROOT_PATH}/download:/download
|
- ${MOVIEPILOT_ROOT_PATH}/download:/download
|
||||||
- ${MOVIEPILOT_ROOT_PATH}/media:/media
|
|
||||||
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
|
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
|
||||||
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
|
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
|
||||||
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|
||||||
environment:
|
environment:
|
||||||
- NGINX_PORT=3000
|
- NGINX_PORT=${PANEL_APP_PORT_HTTP}
|
||||||
- PORT=3001
|
- PORT=${PANEL_APP_PORT_API}
|
||||||
- PUID=0
|
- DEBUG=false
|
||||||
- PGID=0
|
- DEV=false
|
||||||
- UMASK=022
|
- LOG_LEVEL=INFO
|
||||||
- TZ=Asia/Shanghai
|
|
||||||
- CACHE_BACKEND_TYPE=cachetools
|
|
||||||
- AUTH_SITE=iyuu,hhclub,audiences,hddolby,zmpt,freefarm,hdfans,wintersakura,leaves,ptba,icc2022,xingtan,ptvicomo,agsvpt,hdkyl,qingwa,discfan,haidan,rousi,sunny,ptcafe,ptzone,kufei,yemapt
|
|
||||||
- HTTP_PROXY=${PROXY_HOST}
|
|
||||||
- HTTPS_PROXY=${PROXY_HOST}
|
|
||||||
logging:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
Reference in New Issue
Block a user