视频选集

项目地址

https://github.com/hr3lxphr6j/bililive-go
docker compose 命令
version: '3.8' # 兼容性较高的语法版本:ml-citation{ref="7" data="citationList"}
services:
 bililive-go:
  image: chigusa/bililive-go:latest # 使用最新版镜像:ml-citation{ref="2" data="citationList"}
  container_name: bililive-go # 自定义容器名称
  restart: always # 容器异常退出时自动重启:ml-citation{ref="1,5" data="citationList"}
  ports:
   - "8080:8080" # 保持原端口映射规则:ml-citation{ref="2,6" data="citationList"}
  volumes:
   - "替换自己的下载地址:/srv/bililive" # 使用系统变量处理用户目录路径:ml-citation{ref="3,7" data="citationList"}
  deploy:
   resources:
    limits:
     memory: 512M # 推荐内存限制(未在原始命令体现,但属于最佳实践)