mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-28 09:41:20 +00:00
add owncast
This commit is contained in:
parent
e21de440bd
commit
5ee2e5f1ab
@ -351,6 +351,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] kylemanna/openvpn
|
- [x] kylemanna/openvpn
|
||||||
- [x] campbellsoftwaresolutions/osticket
|
- [x] campbellsoftwaresolutions/osticket
|
||||||
- [x] outlinewiki/outline
|
- [x] outlinewiki/outline
|
||||||
|
- [x] gabekangas/owncast
|
||||||
- [x] owncloud
|
- [x] owncloud
|
||||||
- [x] phpmyadmin
|
- [x] phpmyadmin
|
||||||
- [x] pihole/pihole
|
- [x] pihole/pihole
|
||||||
|
8
owncast/README.md
Normal file
8
owncast/README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
|
[1]: https://owncast.online/
|
79
owncast/data/config.yaml
Normal file
79
owncast/data/config.yaml
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
# You can specific the path to a specific ffmpeg binary.
|
||||||
|
ffmpegPath: /usr/local/bin/ffmpeg
|
||||||
|
webServerPort: 8080
|
||||||
|
rtmpServerPort: 1935
|
||||||
|
|
||||||
|
instanceDetails:
|
||||||
|
name: Owncast
|
||||||
|
title: Owncast Demo Server
|
||||||
|
logo: /img/logo.svg
|
||||||
|
|
||||||
|
summary: "This is brief summary of whom you are or what your stream is."
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- music
|
||||||
|
- software
|
||||||
|
- animal crossing
|
||||||
|
|
||||||
|
# Specify if your stream includes NSFW content.
|
||||||
|
nsfw: false
|
||||||
|
|
||||||
|
# https://owncast.online/docs/configuration/#external-links
|
||||||
|
# for full list of supported social links. All optional.
|
||||||
|
socialHandles:
|
||||||
|
- platform: github
|
||||||
|
url: https://github.com/owncast/owncast
|
||||||
|
- platform: instagram
|
||||||
|
url: http://instagram.biz/owncast
|
||||||
|
- platform: facebook
|
||||||
|
url: http://facebook.gov/owncast
|
||||||
|
- platform: tiktok
|
||||||
|
url: http://tiktok.cn/owncast
|
||||||
|
- platform: soundcloud
|
||||||
|
url: http://soundcloud.com/owncast
|
||||||
|
|
||||||
|
videoSettings:
|
||||||
|
# The length of a single segment of video.
|
||||||
|
chunkLengthInSeconds: 4
|
||||||
|
# Change this value and keep it secure. Treat it like a password to your live stream.
|
||||||
|
streamingKey: abc123
|
||||||
|
|
||||||
|
# Determine the qualities of your stream variants.
|
||||||
|
# See https://owncast.online/docs/configuration/#video-quality for details.
|
||||||
|
streamQualities:
|
||||||
|
- low:
|
||||||
|
# Higher the bitrate, the better it looks, but it requires more bandwidth to consume.
|
||||||
|
videoBitrate: 800
|
||||||
|
# Resize the width to something smaller. scaledHeight is also an option. Don't use both at once
|
||||||
|
# unless you want to chang the aspect ratio of your video.
|
||||||
|
scaledWidth: 600
|
||||||
|
# Don't re-encode the audio.
|
||||||
|
audioPassthrough: true
|
||||||
|
# The slower the preset the higher quality the video is.
|
||||||
|
# Select a preset from https://trac.ffmpeg.org/wiki/Encode/H.264
|
||||||
|
# "superfast" and "ultrafast" are generally not recommended since they look bad.
|
||||||
|
encoderPreset: veryfast
|
||||||
|
|
||||||
|
- medium:
|
||||||
|
videoBitrate: 1200
|
||||||
|
encoderPreset: fast
|
||||||
|
|
||||||
|
# Number of segments kept referenced in the HLS playlist
|
||||||
|
files:
|
||||||
|
maxNumberInPlaylist: 4
|
||||||
|
|
||||||
|
# Read https://owncast.online/docs/s3/ for S3 config details.
|
||||||
|
s3:
|
||||||
|
enabled: false
|
||||||
|
endpoint: https://s3.us-west-2.amazonaws.com
|
||||||
|
servingEndpoint: https://yourcdn.example
|
||||||
|
accessKey: ABC12342069
|
||||||
|
secret: lolomgqwtf49583949
|
||||||
|
region: us-west-2
|
||||||
|
bucket: myvideo
|
||||||
|
|
||||||
|
# Off by default. You can optionally list yourself in the Owncast directory.
|
||||||
|
# Make sure your instanceURL is the public URL to your Owncast instance.
|
||||||
|
yp:
|
||||||
|
enabled: false
|
||||||
|
instanceURL: https://stream.myserver.org
|
11
owncast/docker-compose.yml
Normal file
11
owncast/docker-compose.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
owncast:
|
||||||
|
image: gabekangas/owncast
|
||||||
|
command: /app/owncast --configFile=/data/config.yaml --chatDatabase=/data/chat.db
|
||||||
|
ports:
|
||||||
|
- "1935:1935"
|
||||||
|
- "8080:8080"
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user