's'
This commit is contained in:
6
services/filebrowser/config/settings.json
Normal file
6
services/filebrowser/config/settings.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"address": "0.0.0.0",
|
||||
"port": 80,
|
||||
"baseURL": "",
|
||||
"log": "stdout"
|
||||
}
|
||||
22
services/filebrowser/docker-compose.yml
Normal file
22
services/filebrowser/docker-compose.yml
Normal 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
|
||||
22
services/homepage/config/services.yaml
Normal file
22
services/homepage/config/services.yaml
Normal 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
|
||||
7
services/homepage/config/settings.yaml
Normal file
7
services/homepage/config/settings.yaml
Normal 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
|
||||
4
services/homepage/config/widgets.yaml
Normal file
4
services/homepage/config/widgets.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
- resources:
|
||||
cpu: true
|
||||
memory: true
|
||||
disk: /
|
||||
14
services/homepage/docker-compose.yml
Normal file
14
services/homepage/docker-compose.yml
Normal 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
|
||||
41
services/srs/conf/srs.conf
Normal file
41
services/srs/conf/srs.conf
Normal 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;
|
||||
}
|
||||
}
|
||||
16
services/srs/docker-compose.yml
Normal file
16
services/srs/docker-compose.yml
Normal 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"]
|
||||
Reference in New Issue
Block a user