Stream Platform Lite is a platform that allows any streamer to easily create their own live streaming platform, making their content and revenue not entirely dependent on major streaming platforms.
StreamPlatformLite supports two deployment methods. Caddy is recommended for its simplicity and automatic HTTPS.
Advantages:
- Automatic SSL certificate from Let's Encrypt
- Auto-renewal (no manual maintenance)
- Simpler configuration
- Better security (backend not directly exposed)
- HTTP/2 and HTTP/3 support out of the box
Prerequisites:
- Docker & Docker Compose
- Domain name with DNS A record pointing to your server
- Ports 80, 443, and 1935 open in firewall
Setup:
-
Clone the repositories:
git clone https://github.com/cool9850311/StreamPlatformLite.git git clone https://github.com/cool9850311/StreamPlatformLite-Frontend.git git clone https://github.com/cool9850311/StreamPlatformLite-Backend.git
-
Navigate to the project directory:
cd StreamPlatformLite -
Copy the Caddy configuration files:
cp docker-compose-caddy.yml docker-compose.yml cp Caddyfile.example Caddyfile
-
Edit
Caddyfileand replaceexample.comwith your actual domain name. -
Update the environment variables in
docker-compose.yml:- Replace
example.comwith your domain inDOMAINandFRONTEND_DOMAIN - Update other environment variables as needed
- (See Configuration - docker-compose)
- Replace
-
Start the services:
docker-compose up -d --build
-
Wait 1-2 minutes for Caddy to obtain SSL certificates automatically.
Notes:
- Certificates are stored in Docker volumes and renewed automatically
- No manual certificate management needed
- Access your site at
https://yourdomain.com
Use this if:
- You prefer manual certificate management
- You already have SSL certificates
- You need specific Nginx features
Setup:
-
Clone the repositories:
git clone https://github.com/cool9850311/StreamPlatformLite.git git clone https://github.com/cool9850311/StreamPlatformLite-Frontend.git git clone https://github.com/cool9850311/StreamPlatformLite-Backend.git
-
Navigate to the project directory:
cd StreamPlatformLite -
Copy the example configuration files:
cp docker-compose-example.yml docker-compose.yml cp nginx.conf.example nginx.conf
-
Update the environment variables in
docker-compose.ymlandnginx.confas needed. (See Configuration - docker-compose) -
Replace cert & key files in
certsfolder with your own SSL certificates. -
Start the services using Docker Compose:
docker-compose up -d --build
To stop the services (works for both Caddy and Nginx):
docker-compose downFor more detailed information, refer to the individual repository links provided below.