Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Add quickstart docker setup instructions

Gabe Kangas94b5b580762c
diff --git a/README.md b/README.md
index 2a41dcdc33..b758936a97 100644
--- a/README.md
+++ b/README.md
@@ -91,8 +91,12 @@ The goal is to have a single service that you can run and it works out of the bo
If you want a simpler way to run an instance of owncast you can run it in a container with the supplied Dockerfile.
-1. Run `docker build -t owncast .`
+1. Copy `config/config-example.yaml` to `config/config.yaml`
+1. Edit `config/config.yaml` and change the path of ffmpeg to `/usr/bin/ffmpeg`
+1. Make any other config changes.
+1. Run `docker build -t owncast .` and wait. It may take a few minutes to build.
1. Run `docker run -p 8080:8080 -p 1935:1935 -it owncast`
+1. If you ever make any future config file changes you must rerun the `docker build` step otherwise you can just run the `docker run` step to run the service going forward.
## Use with your desktop software
diff --git a/doc/README.md b/doc/README.md
index d41fd3a491..f04daa5dc5 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -3,6 +3,7 @@
## Table of Contents
+* [Quickstart](quickstart.md)
* [Installing](installing.md)
* [Configuration](configuration.md)
* [S3 Storage](S3.md)
\ No newline at end of file
diff --git a/doc/quickstart.md b/doc/quickstart.md
new file mode 100644
index 0000000000..9b78f62232
--- /dev/null
+++ b/doc/quickstart.md
@@ -0,0 +1,17 @@
+## Quickstart
+
+These steps will utilize Docker, as going from a brand new sever to running the service is easiest done within a container.
+
+1. Create or login to an existing server somewhere.
+1. Install Docker. If it's a Debian based linux machine `sudo apt-get install docker.io`.
+1. Install git `sudo apt-get install git`.
+1. Download the code. `git clone https://github.com/gabek/owncast`
+1. Copy `config/config-example.yaml` to `config/config.yaml`
+1. Edit `config/config.yaml` and change the path of ffmpeg to `/usr/bin/ffmpeg`
+1. Edit your stream key to whatever you'd like it to be in the config.
+1. Make any other config changes.
+1. Run `docker build -t owncast .` and wait. It may take a few minutes to build depending on the speed of your server.
+1. Run `docker run -p 8080:8080 -p 1935:1935 -it owncast` to start the service.
+1. Point your broadcasting software at your new server using `rtmp://yourserver/live` and the stream key you set above and start your stream.
+1. Access your server in your web browser by visiting `http://yourserver:8080`.
+1. If you ever make any future config file changes you must rerun the `docker build` step otherwise you can just run the `docker run` step to run the service going forward.