1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/owncast/README.md
2024-04-08 18:20:30 +08:00

46 lines
1.3 KiB
Markdown

owncast
=======
[Owncast][1] is a self-hosted live video and web chat server for use with
existing popular broadcasting software. Point your live stream at a server you
personally control and regain ownership over your content.
## Up and Running
```yaml
version: "3.8"
services:
owncast:
image: owncast/owncast:0.1.3
command: /app/owncast -backupdir=/app/data -database=/app/data/database.db
ports:
- "1935:1935"
- "8080:8080"
volumes:
- ./data:/app/data
restart: unless-stopped
```
```bash
$ mkdir -p data
# temporarily disable until we figure out how to move forward
# chown -R 101:101 data
$ docker compose up -d
```
> https://github.com/owncast/owncast/blob/develop/Earthfile#L129-L131
## Using with OBS / Streamlabs
OBS is a pretty good piece of free software that will get you streaming from your own computer right away.
- Install OBS or Streamlabs OBS and get it working with your local setup.
- Open OBS Settings and go to “Stream”.
- Select “Custom…” as the service.
- Enter the URL of the server running your streaming service in the format of rtmp://myserver.net/live.
- Enter your “Stream Key” that matches the key you put in your config.yaml file.
- Start the server.
- Press “Start Streaming” (OBS) or “Go Live” (Streamlabs) on OBS.
[1]: https://owncast.online/