mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 03:54:54 +08:00
1.3 KiB
1.3 KiB
Quickstart
These steps will utilize Docker, as going from a brand new sever to running the service is easiest done within a container.
- Create or login to an existing server somewhere.
Download
- Install Docker. If it's a Debian based linux machine
sudo apt-get install docker.io. - Install git
sudo apt-get install git. - Download the code.
git clone https://github.com/gabek/owncast
Configure
- Copy
config/config-example.yamltoconfig/config.yaml - Edit
config/config.yamland change the path of ffmpeg to/usr/bin/ffmpeg. - Edit your stream key to whatever you'd like it to be in the config.
- Make any other config changes.
- Run
docker build -t owncast .and wait. It may take a few minutes to build depending on the speed of your server.
Run!
- Run
docker run -p 8080:8080 -p 1935:1935 -it owncastto start the service.
That's it!
Test
- Point your broadcasting software at your new server using
rtmp://yourserver/liveand the stream key you set above and start your stream. - Access your server in your web browser by visiting
http://yourserver:8080. - If you ever make any future config file changes you must rerun the
docker buildstep otherwise you can just run thedocker runstep to run the service going forward.