A Docker image to stream a video in loop on Steam.
- Stream videos continuously on Steam.
- Easy setup with Docker and Docker Compose.
- Customizable via environment variables.
- Docker installed on your machine.
-
Copy the
.env.example
file to.env
:cp .env.example .env
-
Set the following variables in the
.env
file:STREAM_KEY
STREAM_URL
WEBHOOK_URL
You can obtain
STREAM_KEY
andSTREAM_URL
from Steam's Broadcast settings. -
Place the video you want to stream in the repository directory and rename it to
video.mp4
.
- Build the Docker image:
docker build -t steam-video-streamer .
- Run the Docker container:
docker run --env-file .env -v $(pwd)/video.mp4:/usr/src/app/video.mp4 --restart on-failure -d steam-video-streamer
- Build and start the Docker Compose services:
docker-compose build docker-compose up -d
.env.example
: Example environment file.Dockerfile
: Docker configuration.docker-compose.yml
: Docker Compose configuration.stream_loop.sh
: Shell script to loop the video stream.video.mp4
: Placeholder for your video file.
Feel free to submit issues or pull requests.
This project is licensed under the MIT License.