mirror of
https://github.com/okxlin/appstore.git
synced 2026-02-21 18:37:41 +08:00
feat:更新jellyfin和wgcf-socks5-proxy
This commit is contained in:
parent
ef0d38b21f
commit
a12737dee3
4
apps/jellyfin/latest/.env.sample
Normal file
4
apps/jellyfin/latest/.env.sample
Normal file
@ -0,0 +1,4 @@
|
||||
CONTAINER_NAME=jellyfin
|
||||
PANEL_APP_PORT_HTTP=8096
|
||||
CACHE_FOLDER_PATH="./data/media"
|
||||
MEDIA_FOLDER_PATH="./data/cache"
|
||||
24
apps/jellyfin/latest/data.yml
Normal file
24
apps/jellyfin/latest/data.yml
Normal file
@ -0,0 +1,24 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 8096
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: WebUI Port
|
||||
labelZh: 网页端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: ./data/media
|
||||
edit: true
|
||||
envKey: MEDIA_FOLDER_PATH
|
||||
labelEn: Media folder path
|
||||
labelZh: 媒体文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
- default: ./data/cache
|
||||
edit: true
|
||||
envKey: CACHE_FOLDER_PATH
|
||||
labelEn: Cache folder path
|
||||
labelZh: 缓存文件夹路径
|
||||
required: true
|
||||
type: text
|
||||
20
apps/jellyfin/latest/docker-compose.yml
Normal file
20
apps/jellyfin/latest/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
version: "3"
|
||||
services:
|
||||
jellyfin:
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:8096"
|
||||
volumes:
|
||||
- "./data/config:/config"
|
||||
- "${CACHE_FOLDER_PATH}:/cache"
|
||||
- "${MEDIA_FOLDER_PATH}:/media/media"
|
||||
image: "jellyfin/jellyfin:latest"
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
@ -1,4 +1,8 @@
|
||||
CONTAINER_NAME="wgcf-socks5-proxy"
|
||||
PANEL_APP_PORT_HTTP="40055"
|
||||
DATA_PATH="./data"
|
||||
IP_COMMAND=""
|
||||
IP_COMMAND=""
|
||||
SOCKS_USER=""
|
||||
SOCKS_PWD=""
|
||||
SOCKS_PORT="1080"
|
||||
SOCKS_HOST="0.0.0.0"
|
||||
|
||||
@ -22,3 +22,33 @@ additionalProperties:
|
||||
labelZh: 仅IPV4/IPV6(填"-4";"-6")
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SOCKS_USER
|
||||
labelEn: Socks user
|
||||
labelZh: Socks用户名
|
||||
required: false
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SOCKS_PWD
|
||||
labelEn: Socks password
|
||||
labelZh: Socks密码
|
||||
random: false
|
||||
required: false
|
||||
rule: paramComplexity
|
||||
type: password
|
||||
- default: "1080"
|
||||
edit: true
|
||||
envKey: SOCKS_PORT
|
||||
labelEn: Internal Socks port
|
||||
labelZh: 内部Socks端口
|
||||
required: true
|
||||
type: text
|
||||
- default: "0.0.0.0"
|
||||
edit: true
|
||||
envKey: SOCKS_HOST
|
||||
labelEn: Internal Socks host
|
||||
labelZh: 内部Socks主机
|
||||
required: true
|
||||
type: text
|
||||
@ -6,10 +6,15 @@ services:
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:1080"
|
||||
- "${PANEL_APP_PORT_HTTP}:${SOCKS_PORT}"
|
||||
volumes:
|
||||
- "${DATA_PATH}:/wgcf"
|
||||
- /lib/modules:/lib/modules
|
||||
environment:
|
||||
- USER=${SOCKS_USER}
|
||||
- PASSWORD=${SOCKS_PWD}
|
||||
- PORT=${SOCKS_PORT}
|
||||
- HOST=${SOCKS_HOST}
|
||||
privileged: true
|
||||
cap_add:
|
||||
- net_admin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user