Skip to content

AmbitiousJun/live-server

Repository files navigation

live-server

一个 HTTP 电视直播服务

DockerCompose 安装

docker-compose.yml:

version: '3.1'
services:
  live-server:
    image: ambitiousjun/live-server:latest
    environment:
      - TZ=Asia/Shanghai
      - GIN_MODE=release
    container_name: live-server
    volumes:
      - ./data:/app/data
    ports:
      - 5666:5666

运行:

docker-compose up -d

直接运行二进制

从 release 页下载对应的二进制文件

终端运行:

live-server -prod=true

程序默认运行在 5666 端口上,自定义端口:

live-server -prod=true -p 8880

请我喝杯 9.9💰 的 Luckin Coffee☕️