Update the latest libretv template and mapping directory configuration

This commit is contained in:
subdir 2025-06-11 01:21:42 +08:00
parent 46933c37bc
commit 503a9dae69
3 changed files with 28 additions and 18 deletions

View File

@ -1,18 +0,0 @@
services:
libretv:
container_name: ${CONTAINER_NAME}
image: bestzwei/libretv:latest
ports:
- ${PANEL_APP_PORT_HTTP}:8080
environment:
- PASSWORD=${PANEL_APP_PASSWORD}
restart: unless-stopped
networks:
- 1panel-network
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,5 +1,6 @@
additionalProperties:
formFields:
# HTTP 端口
- default: 8899
envKey: PANEL_APP_PORT_HTTP
labelZh: HTTP端口
@ -9,6 +10,7 @@ additionalProperties:
rule: paramPort
type: number
# 访问密码
- default: "111111"
envKey: PANEL_APP_PASSWORD
labelZh: 访问密码
@ -20,3 +22,4 @@ additionalProperties:

View File

@ -0,0 +1,25 @@
services:
libretv:
image: bestzwei/libretv:latest
container_name: ${CONTAINER_NAME}
ports:
- "${HOST_IP}:${PANEL_APP_PORT_HTTP}:8080"
environment:
- PASSWORD=${PANEL_APP_PASSWORD:-111111}
volumes:
- libretv_data:/app
restart: unless-stopped
networks:
- 1panel-network
volumes:
libretv_data:
driver: local
driver_opts:
type: none
o: bind
device: ./data
networks:
1panel-network:
external: true