Add Dockerfile for containeraization

This commit is contained in:
Gabe Kangas
2020-06-09 18:28:07 -07:00
parent a9e1f1e82e
commit bd145fddf0
3 changed files with 19 additions and 1 deletions

View File

@@ -27,6 +27,7 @@
* [Prerequisites](#prerequisites)
* [Installation](#installation)
* [Usage](#usage)
* [Docker](#docker)
* [Usage with OBS](#usage-with-obs)
* [Video storage and distribution options](#video-storage-options)
* [Advanced usage](#advanced-usage)
@@ -84,6 +85,13 @@ The goal is to have a single service that you can run and it works out of the bo
1. Open your web browser and visit http://yourserver:8080/. If you changed the port in the config file, then change the URL accordingly. If you are testing this on your own personal computer then you can visit http://localhost:8080.
### Docker
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. Run `docker run -p 8080:8080 -p 1935:1935 -it owncast`
## Usage with OBS
1. Install [OBS](https://obsproject.com/) and get it working with your local setup.