1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/owncast
2024-09-11 18:17:40 +08:00
..
launchd update owncast 2024-09-11 14:30:30 +08:00
docker-compose.yml update owncast 2024-09-11 18:17:40 +08:00
Dockerfile
README.md update owncast 2024-09-11 18:17:40 +08:00

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
    ports:
      - "1935:1935"
      - "8080:8080"
    volumes:
      - ./data:/app/data
    restart: unless-stopped
$ 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.

3rd-party Integrations

$ API_URL=http://127.0.0.1:8080/api/integrations
$ API_TOKEN=******
$ curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $API_TOKEN" -d '{"body": "I am a system message!"}' $API_URL/chat/system
{"message":"sent","success":true}