alexanderwagnerdev/slspanel

By alexanderwagnerdev

Updated about 3 hours ago

Web control panel for SLS streams, players & stats. Easy Docker setup.

Image
0

50K+

alexanderwagnerdev/slspanel repository overview

SLSPanel 🎥

Docker License: MIT

A modern web-based control panel for the IRL SLS live streaming server. Manage your streams, monitor players, and track statistics with an intuitive interface.

✨ Features

  • 📺 Stream Management - View and control live streams and connected players
  • 🔗 Easy URL Access - Publishing and playback URLs with one-click copy functionality
  • 📊 Real-Time Statistics - Monitor bitrate, latency, and connection quality
  • 🔐 Optional Authentication - Configurable admin login via environment variable
  • ⚙️ REST API Integration - Seamless communication with SLS server
  • 🐳 Docker Ready - Easy deployment with Docker Compose

🚀 Quick Start

Prerequisites
  • Docker and Docker Compose installed
  • Running SLS (srt-live-server) instance
  • SLS API key
  1. Clone the repository:
git clone https://github.com/AlexanderWagnerDev/slspanel-docker.git
cd slspanel-docker
  1. Edit docker-compose.yml and configure your environment variables:
environment:
  REQUIRE_LOGIN: "True"           # Enable/disable authentication
  USERNAME: "admin"               # Admin username
  PASSWORD: "supersecret"         # Admin password
  SLS_API_URL: "http://localhost:8789"  # Your SLS server URL
  SLS_API_KEY: "your_api_key"     # Your SLS API key
  # ... more settings
  1. Start the container:
docker-compose up -d
  1. Access the panel at http://localhost:8000
Installation with Docker Run

For manual deployment:

docker run -d \
  --name slspanel \
  -e REQUIRE_LOGIN=True \
  -e USERNAME=admin \
  -e PASSWORD=supersecret \
  -e SLS_API_URL=http://localhost:8789 \
  -e SLS_API_KEY=your_api_key \
  -e SLS_DOMAIN_IP=localhost \
  -e LANG=en \
  -e TZ=Europe/Vienna \
  -e SRT_PUBLISH_PORT=4000 \
  -e SRT_PLAYER_PORT=4001 \
  -e SRTLA_PUBLISH_PORT=5000 \
  -e SLS_STATS_PORT=8789 \
  -p 8000:8000/tcp \
  alexanderwagnerdev/slspanel:latest

⚙️ Configuration

Environment Variables
VariableDescriptionDefaultRequired
REQUIRE_LOGINEnable authentication (True/False)FalseNo
USERNAMEAdmin usernameadminIf login enabled
PASSWORDAdmin password-If login enabled
SLS_API_URLSLS server API endpoint-Yes
SLS_API_KEYSLS API authentication key-Yes
SLS_DOMAIN_IPDomain or IP for stream URLslocalhostYes
LANGInterface language (en/de)enNo
TZTimezoneUTCNo
SRT_PUBLISH_PORTSRT publishing port4000Yes
SRT_PLAYER_PORTSRT playback port4001Yes
SRTLA_PUBLISH_PORTSRTLA publishing port5000Yes
SLS_STATS_PORTSLS statistics port8789Yes
Example Configuration

Minimal setup without authentication:

environment:
  REQUIRE_LOGIN: "False"
  SLS_API_URL: "http://sls-server:8789"
  SLS_API_KEY: "myapikey123"
  SLS_DOMAIN_IP: "streaming.example.com"

🔧 Troubleshooting

Cannot connect to SLS server
  • Verify SLS_API_URL is correct and reachable from the container
  • Check if SLS_API_KEY matches your SLS configuration
  • Ensure SLS server is running and API is enabled
Login not working
  • Verify REQUIRE_LOGIN is set to True
  • Check USERNAME and PASSWORD are configured
  • Clear browser cache and cookies
View container logs
docker-compose logs -f slspanel

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Support

For questions, issues, or feature requests:


SLSPanel 🎥

[Deutsche Version]

Docker License: MIT

Ein modernes webbasiertes Control Panel für den IRL SLS Live-Streaming-Server. Verwalte deine Streams, überwache Player und tracke Statistiken mit einer intuitiven Benutzeroberfläche.

✨ Features

  • 📺 Stream-Verwaltung - Live-Streams und verbundene Player anzeigen und steuern
  • 🔗 Einfacher URL-Zugriff - Publishing- und Playback-URLs mit Ein-Klick-Kopierfunktion
  • 📊 Echtzeit-Statistiken - Bitrate, Latenz und Verbindungsqualität überwachen
  • 🔐 Optionale Authentifizierung - Konfigurierbarer Admin-Login per Umgebungsvariable
  • ⚙️ REST-API-Integration - Nahtlose Kommunikation mit dem SLS-Server
  • 🐳 Docker-Ready - Einfaches Deployment mit Docker Compose

🚀 Schnellstart

Voraussetzungen
  • Docker und Docker Compose installiert
  • Laufende SLS (srt-live-server) Instanz
  • SLS API-Key
Installation mit Docker Compose (Empfohlen)
  1. Repository klonen:
git clone https://github.com/AlexanderWagnerDev/slspanel-docker.git
cd slspanel-docker
  1. docker-compose.yml bearbeiten und Umgebungsvariablen konfigurieren:
environment:
  REQUIRE_LOGIN: "True"           # Authentifizierung aktivieren/deaktivieren
  USERNAME: "admin"               # Admin-Benutzername
  PASSWORD: "supersecret"         # Admin-Passwort
  SLS_API_URL: "http://localhost:8789"  # Deine SLS-Server-URL
  SLS_API_KEY: "your_api_key"     # Dein SLS API-Key
  # ... weitere Einstellungen
  1. Container starten:
docker-compose up -d
  1. Panel unter http://localhost:8000 aufrufen
Installation mit Docker Run

Für manuelles Deployment:

docker run -d \
  --name slspanel \
  -e REQUIRE_LOGIN=True \
  -e USERNAME=admin \
  -e PASSWORD=supersecret \
  -e SLS_API_URL=http://localhost:8789 \
  -e SLS_API_KEY=your_api_key \
  -e SLS_DOMAIN_IP=localhost \
  -e LANG=de \
  -e TZ=Europe/Vienna \
  -e SRT_PUBLISH_PORT=4000 \
  -e SRT_PLAYER_PORT=4001 \
  -e SRTLA_PUBLISH_PORT=5000 \
  -e SLS_STATS_PORT=8789 \
  -p 8000:8000/tcp \
  alexanderwagnerdev/slspanel:latest

⚙️ Konfiguration

Umgebungsvariablen
VariableBeschreibungStandardErforderlich
REQUIRE_LOGINAuthentifizierung aktivieren (True/False)FalseNein
USERNAMEAdmin-BenutzernameadminBei Login
PASSWORDAdmin-Passwort-Bei Login
SLS_API_URLSLS-Server API-Endpunkt-Ja
SLS_API_KEYSLS API-Authentifizierungsschlüssel-Ja
SLS_DOMAIN_IPDomain oder IP für Stream-URLslocalhostJa
LANGSprache der Oberfläche (en/de)enNein
TZZeitzoneUTCNein
SRT_PUBLISH_PORTSRT Publishing-Port4000Ja
SRT_PLAYER_PORTSRT Playback-Port4001Ja
SRTLA_PUBLISH_PORTSRTLA Publishing-Port5000Ja
SLS_STATS_PORTSLS Statistik-Port8789Ja
Beispiel-Konfiguration

Minimale Einrichtung ohne Authentifizierung:

environment:
  REQUIRE_LOGIN: "False"
  SLS_API_URL: "http://sls-server:8789"
  SLS_API_KEY: "myapikey123"
  SLS_DOMAIN_IP: "streaming.example.com"

🔧 Fehlerbehebung

Verbindung zum SLS-Server nicht möglich
  • Überprüfe, ob SLS_API_URL korrekt ist und vom Container aus erreichbar
  • Prüfe, ob SLS_API_KEY mit deiner SLS-Konfiguration übereinstimmt
  • Stelle sicher, dass der SLS-Server läuft und die API aktiviert ist
Login funktioniert nicht
  • Überprüfe, ob REQUIRE_LOGIN auf True gesetzt ist
  • Prüfe, ob USERNAME und PASSWORD konfiguriert sind
  • Lösche Browser-Cache und Cookies
Container-Logs anzeigen
docker-compose logs -f slspanel

📝 Lizenz

Dieses Projekt ist unter der MIT-Lizenz lizenziert - siehe LICENSE Datei für Details.

🤝 Support

Für Fragen, Probleme oder Feature-Requests:

🔗 Verwandte Projekte

Tag summary

Content type

Image

Digest

sha256:d1acbe074

Size

33 MB

Last updated

about 3 hours ago

docker pull alexanderwagnerdev/slspanel:beta