Home
Softono

Live Server

Open source Go
23
Stars
1
Forks
0
Issues
1
Watchers
11 months
Last Commit

 About Live Server

一个 HTTP 电视直播服务

Platforms

Web Self-hosted Docker

Languages

Go

Links

Need Help Installing Live Server?

We provide expert installation service for this software. Our team will install, configure, and secure Live Server on your server. plans start at just $30.

Live Server

View on GitHub

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☕️