This commit is contained in:
mxtag 2025-07-08 16:10:20 +00:00 committed by GitHub
commit 176fa878d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 38 additions and 24 deletions

@ -1 +0,0 @@
Subproject commit 26ec4e897c7ddc8968d21bcf0afab07e06348852

View File

@ -1,17 +0,0 @@
services:
libretv:
container_name: ${CONTAINER_NAME}
image: bestzwei/libretv:latest
networks:
- 1panel-network
restart: always
ports:
- ${PANEL_APP_PORT_HTTP}:80
environment:
- PASSWORD=${PANEL_APP_PASSWORD} # 关键配置
command: ["/docker-entrypoint.sh", "nginx", "-g", "daemon off;"]
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true

View File

@ -1,18 +1,25 @@
additionalProperties: additionalProperties:
formFields: formFields:
- default: 8899 # HTTP端口默认值 # HTTP 端口
- default: 8899
envKey: PANEL_APP_PORT_HTTP envKey: PANEL_APP_PORT_HTTP
labelZh: HTTP端口
labelEn: HTTP Port labelEn: HTTP Port
labelZh: HTTP 端口
required: true required: true
edit: true edit: true
rule: paramPort rule: paramPort
type: number type: number
- default: "111111" # 访问密码默认值
# 访问密码
- default: "111111"
envKey: PANEL_APP_PASSWORD envKey: PANEL_APP_PASSWORD
labelEn: Access Password
labelZh: 访问密码 labelZh: 访问密码
labelEn: Access Password
required: true required: true
edit: true edit: true
rule: paramComplexity rule: passwordStrength
type: password type: password

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