Processed apps directory via GitHub Actions
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
|||||||
- verificationCodeTimeout=10
|
- verificationCodeTimeout=10
|
||||||
- appname=casdoor
|
- appname=casdoor
|
||||||
- authState=casdoor
|
- authState=casdoor
|
||||||
image: casbin/casdoor:v2.58.0
|
image: casbin/casdoor:v2.59.0
|
||||||
labels:
|
labels:
|
||||||
createdBy: Apps
|
createdBy: Apps
|
||||||
networks:
|
networks:
|
||||||
@@ -20,7 +20,7 @@ services:
|
|||||||
- HOST=0.0.0.0
|
- HOST=0.0.0.0
|
||||||
- PROMETHEUS_ENABLED=false
|
- PROMETHEUS_ENABLED=false
|
||||||
- PROMETHEUS_PORT=8192
|
- PROMETHEUS_PORT=8192
|
||||||
image: flaresolverr/flaresolverr:v3.4.0
|
image: flaresolverr/flaresolverr:v3.4.1
|
||||||
labels:
|
labels:
|
||||||
createdBy: Apps
|
createdBy: Apps
|
||||||
networks:
|
networks:
|
||||||
@@ -9,7 +9,7 @@ services:
|
|||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
image: dxflrs/garage:v2.0.0
|
image: dxflrs/garage:v2.1.0
|
||||||
labels:
|
labels:
|
||||||
createdBy: Apps
|
createdBy: Apps
|
||||||
networks:
|
networks:
|
||||||
@@ -9,7 +9,7 @@ services:
|
|||||||
- .env
|
- .env
|
||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
image: dxflrs/garage:v2.0.0
|
image: dxflrs/garage:v2.1.0
|
||||||
labels:
|
labels:
|
||||||
createdBy: Apps
|
createdBy: Apps
|
||||||
networks:
|
networks:
|
||||||
@@ -14,7 +14,7 @@ services:
|
|||||||
- database__client=mysql
|
- database__client=mysql
|
||||||
- mail__options__service=Email
|
- mail__options__service=Email
|
||||||
- mail__options__secure=true
|
- mail__options__secure=true
|
||||||
image: ghost:6.0.7
|
image: ghost:6.0.9
|
||||||
labels:
|
labels:
|
||||||
createdBy: Apps
|
createdBy: Apps
|
||||||
networks:
|
networks:
|
||||||
63
appstore/movie-pilot/2.7.9/.env
Normal file
63
appstore/movie-pilot/2.7.9/.env
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
# 网络模式 [必填]
|
||||||
|
NETWORK_MODE=1panel-network
|
||||||
|
|
||||||
|
# 数据持久化路径 [必填]
|
||||||
|
MOVIEPILOT_ROOT_PATH=/home/movie-pilot
|
||||||
|
|
||||||
|
# WebUI 端口 [必填]
|
||||||
|
PANEL_APP_PORT_HTTP=3000
|
||||||
|
|
||||||
|
# API 端口 [必填]
|
||||||
|
PANEL_APP_PORT_API=3001
|
||||||
|
|
||||||
|
# 管理员用户名 [必填]
|
||||||
|
SUPERUSER=admin
|
||||||
|
|
||||||
|
# API 令牌 [必填]
|
||||||
|
API_TOKEN=moviepilot
|
||||||
|
|
||||||
|
# 网络代理
|
||||||
|
PROXY_HOST=
|
||||||
|
|
||||||
|
# 自动更新资源包 [必填]
|
||||||
|
AUTO_UPDATE_RESOURCE=false
|
||||||
|
|
||||||
|
# 自动更新 [必填]
|
||||||
|
MOVIEPILOT_AUTO_UPDATE=false
|
||||||
|
|
||||||
|
# 自定义挂载目录 1
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_1=
|
||||||
|
|
||||||
|
# 自定义挂载目录 2
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_2=
|
||||||
|
|
||||||
|
# 自定义挂载目录 3
|
||||||
|
CUSTOM_MOUNT_DIRECTORY_3=
|
||||||
|
|
||||||
|
# IYUU登录令牌
|
||||||
|
IYUU_SIGN=
|
||||||
|
|
||||||
|
# 缓存类型 [必填]
|
||||||
|
CACHE_BACKEND_TYPE=cachetools
|
||||||
|
|
||||||
|
# 缓存连接地址
|
||||||
|
CACHE_BACKEND_URL=
|
||||||
|
|
||||||
|
# 数据库类型 [必填]
|
||||||
|
DB_TYPE=sqlite
|
||||||
|
|
||||||
|
# 数据库 主机地址
|
||||||
|
DB_POSTGRESQL_HOST=127.0.0.1
|
||||||
|
|
||||||
|
# 数据库 端口
|
||||||
|
DB_POSTGRESQL_PORT=5432
|
||||||
|
|
||||||
|
# 数据库 名称
|
||||||
|
DB_POSTGRESQL_DATABASE=moviepilot
|
||||||
|
|
||||||
|
# 数据库 用户名
|
||||||
|
DB_POSTGRESQL_USERNAME=moviepilot
|
||||||
|
|
||||||
|
# 数据库 密码
|
||||||
|
DB_POSTGRESQL_PASSWORD=
|
||||||
|
|
||||||
189
appstore/movie-pilot/2.7.9/data.yml
Normal file
189
appstore/movie-pilot/2.7.9/data.yml
Normal file
@@ -0,0 +1,189 @@
|
|||||||
|
additionalProperties:
|
||||||
|
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"
|
||||||
|
edit: true
|
||||||
|
envKey: MOVIEPILOT_ROOT_PATH
|
||||||
|
labelZh: 数据持久化路径
|
||||||
|
labelEn: Data persistence path
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: 3000
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelZh: WebUI 端口
|
||||||
|
labelEn: WebUI Port
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: 3001
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_API
|
||||||
|
labelZh: API 端口
|
||||||
|
labelEn: API Port
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
|
- default: "admin"
|
||||||
|
edit: true
|
||||||
|
envKey: SUPERUSER
|
||||||
|
labelZh: 管理员用户名
|
||||||
|
labelEn: Superuser Username
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- default: "moviepilot"
|
||||||
|
edit: true
|
||||||
|
envKey: API_TOKEN
|
||||||
|
labelZh: API 令牌
|
||||||
|
labelEn: API Token
|
||||||
|
required: true
|
||||||
|
type: password
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: PROXY_HOST
|
||||||
|
labelZh: 网络代理
|
||||||
|
labelEn: Proxy Host
|
||||||
|
required: false
|
||||||
|
rule: paramExtUrl
|
||||||
|
type: text
|
||||||
|
- default: "false"
|
||||||
|
edit: true
|
||||||
|
envKey: AUTO_UPDATE_RESOURCE
|
||||||
|
labelZh: 自动更新资源包
|
||||||
|
labelEn: Auto Update Resources
|
||||||
|
required: true
|
||||||
|
type: select
|
||||||
|
values:
|
||||||
|
- label: 开启
|
||||||
|
value: "true"
|
||||||
|
- label: 关闭
|
||||||
|
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: ""
|
||||||
|
edit: true
|
||||||
|
envKey: CUSTOM_MOUNT_DIRECTORY_1
|
||||||
|
labelEn: Custom mount directory 1
|
||||||
|
labelZh: 自定义挂载目录 1
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: CUSTOM_MOUNT_DIRECTORY_2
|
||||||
|
labelEn: Custom mount directory 2
|
||||||
|
labelZh: 自定义挂载目录 2
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: CUSTOM_MOUNT_DIRECTORY_3
|
||||||
|
labelEn: Custom mount directory 3
|
||||||
|
labelZh: 自定义挂载目录 3
|
||||||
|
required: false
|
||||||
|
type: text
|
||||||
|
- default: ""
|
||||||
|
edit: true
|
||||||
|
envKey: IYUU_SIGN
|
||||||
|
labelEn: IYUU Sign
|
||||||
|
labelZh: IYUU登录令牌
|
||||||
|
required: false
|
||||||
|
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
|
||||||
37
appstore/movie-pilot/2.7.9/docker-compose.yml
Normal file
37
appstore/movie-pilot/2.7.9/docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
|
services:
|
||||||
|
movie-pilot:
|
||||||
|
container_name: movie-pilot
|
||||||
|
env_file:
|
||||||
|
- ./envs/global.env
|
||||||
|
- .env
|
||||||
|
environment:
|
||||||
|
- NGINX_PORT=${PANEL_APP_PORT_HTTP}
|
||||||
|
- PORT=${PANEL_APP_PORT_API}
|
||||||
|
- DEBUG=false
|
||||||
|
- DEV=false
|
||||||
|
- LOG_LEVEL=INFO
|
||||||
|
image: jxxghp/moviepilot:2.8.0
|
||||||
|
labels:
|
||||||
|
createdBy: Apps
|
||||||
|
logging:
|
||||||
|
driver: json-file
|
||||||
|
options:
|
||||||
|
max-size: 5m
|
||||||
|
network_mode: ${NETWORK_MODE}
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:${PANEL_APP_PORT_HTTP}
|
||||||
|
- ${PANEL_APP_PORT_API}:${PANEL_APP_PORT_API}
|
||||||
|
restart: always
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- ${MOVIEPILOT_ROOT_PATH}/config:/config
|
||||||
|
- ${MOVIEPILOT_ROOT_PATH}/moviepilot:/moviepilot
|
||||||
|
- ${MOVIEPILOT_ROOT_PATH}/download:/download
|
||||||
|
- ${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_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|
||||||
19
appstore/movie-pilot/2.7.9/scripts/init.sh
Normal file
19
appstore/movie-pilot/2.7.9/scripts/init.sh
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/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
|
||||||
|
sed -i '/^APP_ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||||
|
echo "APP_ENV_FILE=${CURRENT_DIR}/envs/movie-pilot.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
18
appstore/movie-pilot/2.7.9/scripts/upgrade.sh
Normal file
18
appstore/movie-pilot/2.7.9/scripts/upgrade.sh
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/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
|
||||||
|
sed -i '/^APP_ENV_FILE=/d' .env
|
||||||
|
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||||
|
echo "GLOBAL_ENV_FILE=${CURRENT_DIR}/envs/global.env" >> .env
|
||||||
|
echo "APP_ENV_FILE=${CURRENT_DIR}/envs/movie-pilot.env" >> .env
|
||||||
|
|
||||||
|
echo "Check Finish."
|
||||||
|
else
|
||||||
|
echo "Error: .env file not found."
|
||||||
|
fi
|
||||||
@@ -13,6 +13,9 @@ PANEL_APP_PORT_API=3001
|
|||||||
# 管理员用户名 [必填]
|
# 管理员用户名 [必填]
|
||||||
SUPERUSER=admin
|
SUPERUSER=admin
|
||||||
|
|
||||||
|
# 管理员密码 [必填]
|
||||||
|
SUPERUSER_PASSWORD=admin
|
||||||
|
|
||||||
# API 令牌 [必填]
|
# API 令牌 [必填]
|
||||||
API_TOKEN=moviepilot
|
API_TOKEN=moviepilot
|
||||||
|
|
||||||
|
|||||||
@@ -46,6 +46,13 @@ additionalProperties:
|
|||||||
labelEn: Superuser Username
|
labelEn: Superuser Username
|
||||||
required: true
|
required: true
|
||||||
type: text
|
type: text
|
||||||
|
- default: "admin"
|
||||||
|
edit: true
|
||||||
|
envKey: SUPERUSER_PASSWORD
|
||||||
|
labelZh: 管理员密码
|
||||||
|
labelEn: Superuser
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
- default: "moviepilot"
|
- default: "moviepilot"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: API_TOKEN
|
envKey: API_TOKEN
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user