1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/owncast/README.md
2024-04-08 09:32:15 +08:00

1.2 KiB

owncast

Owncast 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

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
$ mkdir -p data
$ chown -R 101:101 data
$ docker compose up -d

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.