Use a container image

  1. Pull the latest version from Dockerhub: docker pull owncast/owncast:latest.
  2. Run docker run -v `pwd`/data:/app/data -p 8080:8080 -p 1935:1935 owncast/owncast:latest to start the service.
  3. This will bind the data directory so you have access to backups and your database in case you need to move it to another server.

Alternatively, you can create a docker-compose.yml file with the following contents:

version: "3"
services:
  owncast:
    image: owncast/owncast:latest
    ports:
      - "8080:8080"
      - "1935:1935"
    volumes:
      - ./data:/app/data

and run docker-compose up to start the service.