Files
LibreTV/docker-compose.yml
JohnsonRan 2b7e604536 docs: improve guides
Signed-off-by: JohnsonRan <me@ihtw.moe>
2025-06-10 22:49:34 +08:00

20 lines
611 B
YAML

services:
libretv:
image: bestzwei/libretv:latest
container_name: libretv
ports:
- "8899:8080" # 将内部 8080 端口映射到主机的 8899 端口
environment:
- PASSWORD=${PASSWORD:-your_password} # 可将 your_password 修改为你想要的密码,默认为 your_password
# volumes:
# - libretv_data:/app # 不要修改
restart: unless-stopped
#volumes:
# libretv_data:
# driver: local
# driver_opts:
# type: none
# o: bind
# device: ${PWD:-.}/data # 可将 ${PWD:-.} 修改为你想要的路径,默认为当前目录下的 data 文件夹