Skip to content

🎛️ Web control panel for SLS streams, players & stats. Easy Docker setup. | 🎛️ Web-Control-Panel für SLS-Streams, Player und Stats. Einfache Docker-Installation.

License

Notifications You must be signed in to change notification settings

AlexanderWagnerDev/slspanel-docker

Repository files navigation

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

Installation with Docker Compose (Recommended)

  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

Variable Description Default Required
REQUIRE_LOGIN Enable authentication (True/False) False No
USERNAME Admin username admin If login enabled
PASSWORD Admin password - If login enabled
SLS_API_URL SLS server API endpoint - Yes
SLS_API_KEY SLS API authentication key - Yes
SLS_DOMAIN_IP Domain or IP for stream URLs localhost Yes
LANG Interface language (en/de) en No
TZ Timezone UTC No
SRT_PUBLISH_PORT SRT publishing port 4000 Yes
SRT_PLAYER_PORT SRT playback port 4001 Yes
SRTLA_PUBLISH_PORT SRTLA publishing port 5000 Yes
SLS_STATS_PORT SLS statistics port 8789 Yes

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:

🔗 Related Projects


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

Variable Beschreibung Standard Erforderlich
REQUIRE_LOGIN Authentifizierung aktivieren (True/False) False Nein
USERNAME Admin-Benutzername admin Bei Login
PASSWORD Admin-Passwort - Bei Login
SLS_API_URL SLS-Server API-Endpunkt - Ja
SLS_API_KEY SLS API-Authentifizierungsschlüssel - Ja
SLS_DOMAIN_IP Domain oder IP für Stream-URLs localhost Ja
LANG Sprache der Oberfläche (en/de) en Nein
TZ Zeitzone UTC Nein
SRT_PUBLISH_PORT SRT Publishing-Port 4000 Ja
SRT_PLAYER_PORT SRT Playback-Port 4001 Ja
SRTLA_PUBLISH_PORT SRTLA Publishing-Port 5000 Ja
SLS_STATS_PORT SLS Statistik-Port 8789 Ja

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

About

🎛️ Web control panel for SLS streams, players & stats. Easy Docker setup. | 🎛️ Web-Control-Panel für SLS-Streams, Player und Stats. Einfache Docker-Installation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •