mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
发布应用x4
+ jproxy + prowlarr + radarr + sonarr Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/jproxy"
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 8117
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: WebUI 端口
|
||||
labelEn: WebUI port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "-Xms512m -Xmx512m"
|
||||
edit: true
|
||||
envKey: JAVA_OPTS
|
||||
labelZh: 运行参数
|
||||
labelEn: Run parameters
|
||||
required: true
|
||||
type: text
|
||||
- default: 4320
|
||||
edit: true
|
||||
envKey: CACHE_EXPIRES
|
||||
labelZh: 缓存过期时间 (分钟)
|
||||
labelEn: Cache expiration time (minutes)
|
||||
required: true
|
||||
type: number
|
||||
- default: 10080
|
||||
edit: true
|
||||
envKey: TOKEN_EXPIRES
|
||||
labelZh: 登录过期时间 (分钟)
|
||||
labelEn: Login expiration time (minutes)
|
||||
required: true
|
||||
type: number
|
||||
- default: 3
|
||||
edit: true
|
||||
envKey: SYNC_INTERVAL
|
||||
labelZh: 同步间隔 (分钟)
|
||||
labelEn: Synchronization interval (minutes)
|
||||
required: true
|
||||
type: number
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: RENAME_FILE
|
||||
labelZh: 允许文件重命名
|
||||
labelEn: Allow file renaming
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 允许
|
||||
value: "true"
|
||||
- label: 禁止
|
||||
value: "false"
|
||||
- default: 6
|
||||
edit: true
|
||||
envKey: MIN_COUNT
|
||||
labelZh: 追加语言标题 (结果小于设定值)
|
||||
labelEn: Append language title (result is less than the set value)
|
||||
required: true
|
||||
type: number
|
||||
- default: 15
|
||||
edit: true
|
||||
envKey: INDEXER_RESULT_CACHE_EXPIRES
|
||||
labelZh: 索引器结果缓存过期时间 (分钟)
|
||||
labelEn: Indexer result cache expiration time (minutes)
|
||||
required: true
|
||||
type: number
|
||||
@@ -0,0 +1,24 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
jproxy:
|
||||
image: luckypuppy514/jproxy:v3.4.4
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8117
|
||||
env_file:
|
||||
- /etc/1panel/envs/global.env
|
||||
- ${ENV_FILE:-/etc/1panel/envs/default.env}
|
||||
volumes:
|
||||
- ${PROWLARR_ROOT_PATH}/data:/app/database
|
||||
environment:
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- TZ=Asia/Shanghai
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.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,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
||||
Reference in New Issue
Block a user