live-server

command module
v1.22.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2025 License: GPL-3.0 Imports: 8 Imported by: 0

README

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

查看运行日志:

docker logs -f live-server -n 1000

直接运行二进制

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

终端运行:

live-server -prod=true

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

live-server -prod=true -p 8880

开启守护进程,运行在后台:

nohup live-server -prod=true -p 8880 > "./app.log" 2>&1 &

停止 8880 端口进程:

lsof -ti:8880 | xargs -r kill -9

请我喝杯 9.9💰 的 Luckin Coffee☕️

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL