This commit is contained in:
eric
2026-03-28 08:39:12 -05:00
parent 4b3c6cbee4
commit b84f9b751c
49 changed files with 3728 additions and 771 deletions

View File

@@ -0,0 +1,6 @@
{
"address": "0.0.0.0",
"port": 80,
"baseURL": "",
"log": "stdout"
}

View File

@@ -0,0 +1,22 @@
version: "3.3"
services:
filebrowser:
image: filebrowser/filebrowser:latest
container_name: live-filebrowser
restart: unless-stopped
ports:
- "${FILEBROWSER_PORT:-8082}:80"
volumes:
- ./database:/database
- ./config:/config
- ../..:/srv/app
- "${SHELLCRASH_DIR:-/etc/ShellCrash}:/srv/shellcrash"
- /home/live:/srv/home-live
command:
- --database
- /database/filebrowser.db
- --config
- /config/settings.json
- --root
- /srv

View File

@@ -0,0 +1,22 @@
- Infrastructure:
- Live Console:
href: http://__HOST__:8001
description: Douyin / YouTube / HDMI orchestration
- WebTTY:
href: http://__HOST__:7681
description: Browser terminal as live user
- Cockpit:
href: https://__HOST__:9090
description: System administration
- File Browser:
href: http://__HOST__:8082
description: Beginner-friendly file manager
- ShellCrash:
href: http://__HOST__:8001
description: Rules and YAML editing from the main console
- Netdata:
href: http://__HOST__:19999
description: Metrics and health monitoring
- SRS:
href: http://__HOST__:8080
description: FLV and HLS preview endpoint

View File

@@ -0,0 +1,7 @@
title: Live Control Hub
description: Unified LAN dashboard for streaming, networking, and device control
color: slate
layout:
Infrastructure:
style: row
columns: 3

View File

@@ -0,0 +1,4 @@
- resources:
cpu: true
memory: true
disk: /

View File

@@ -0,0 +1,14 @@
version: "3.3"
services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: live-homepage
restart: unless-stopped
ports:
- "${HOMEPAGE_PORT:-80}:3000"
environment:
HOMEPAGE_ALLOWED_HOSTS: "*"
volumes:
- ./config:/app/config
- /var/run/docker.sock:/var/run/docker.sock:ro

View File

@@ -0,0 +1,41 @@
listen 1935;
max_connections 1000;
daemon off;
srs_log_tank console;
http_api {
enabled on;
listen 1985;
}
http_server {
enabled on;
listen 8080;
dir ./objs/nginx/html;
}
srt_server {
enabled on;
listen 10080;
}
vhost __defaultVhost__ {
tcp_nodelay on;
min_latency on;
play {
gop_cache off;
queue_length 1;
}
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
hls {
enabled on;
hls_path ./objs/nginx/html;
hls_fragment 3;
hls_window 18;
}
}

View File

@@ -0,0 +1,16 @@
version: "3.3"
services:
srs:
image: ossrs/srs:5
container_name: live-srs
restart: unless-stopped
ports:
- "${SRS_RTMP_PORT:-1935}:1935"
- "${SRS_API_PORT:-1985}:1985"
- "${SRS_HTTP_PORT:-8080}:8080"
- "${SRS_SRT_PORT:-10080}:10080/udp"
volumes:
- ./conf/srs.conf:/usr/local/srs/conf/live.conf:ro
- ./data:/usr/local/srs/objs/nginx/html
command: ["./objs/srs", "-c", "conf/live.conf"]