https://interceptor.marconitschke.de/thread-149.html
3.7K
Visit: https://interceptor.marconitschke.de/thread-149.html
# Ma Ni - v0.1.2
#
# streamdvr_plus
#
# -> It not only serves for recording, but also enables downloading.
#
#
services:
streamdvr_plus:
# image: nitje/streamdvr_plus
build: .
container_name: streamdvr_plus
hostname: streamdvrplus
domainname: localhost
ports:
- "18080:443"
# - "18081:18081" # its for STREAMDVR_PLUS_OLARES_OS=1 variable comment the other port on top out
environment:
- TZ=Europe/Berlin
- STREAMDVR_PLUS_APP_NAME=StreamDVR+ # If you have multiple instances, you can customize the names here for the setup/login screen. Specifying names is already possible with 2FA.
- STREAMDVR_PLUS_SESSION_DAYS=7
- STREAMDVR_PLUS_TOTP_MAX_ATTEMPTS=5
- STREAMDVR_PLUS_TOTP_BAN_SECONDS=300
- STREAMDVR_PLUS_POLL_SECONDS=15 # It is displayed in LOG as HEARTBEAT and looks for streams that are back online to record
- STREAMDVR_PLUS_MAX_RECORDINGS=2
- STREAMDVR_PLUS_PROBE_TIMEOUT=20
- STREAMDVR_PLUS_CREDENTIAL_CHECK_SECONDS=3600 # how often cookies/login-cookie credentials are checked; 0 disables background checks
- STREAMDVR_PLUS_CREDENTIAL_CHECK_TIMEOUT=25
# - STREAMDVR_PLUS_CREDENTIAL_CHECK_URL=https://youtube.com/live/5nba9r9JHE8?feature=share # set a login-required URL for a stronger red/green check
- STREAMDVR_PLUS_BROWSER_PROFILE_DIR=/data/browser_profiles
- STREAMDVR_PLUS_COOKIE_BROWSER=chromium
- STREAMDVR_PLUS_COOKIE_LOGIN_HEADLESS=0
- STREAMDVR_PLUS_COOKIE_LOGIN_TIMEOUT_MS=90000
- STREAMDVR_PLUS_YTDLP_JS_RUNTIMES=deno:/usr/local/bin/deno
# - STREAMDVR_PLUS_YTDLP_REMOTE_COMPONENTS=ejs:github
- STREAMDVR_PLUS_YTDLP_REMOTE_COMPONENTS=none
- STREAMDVR_PLUS_YOUTUBE_EXTRACTOR_ARGS=youtube:player_client=default,web_safari,web_embedded,tv,android_vr
- STREAMDVR_PLUS_YOUTUBE_DOWNLOAD_FORMAT=
- STREAMDVR_PLUS_YOUTUBE_FALLBACK_FORMAT=best[protocol^=m3u8]/18/best
- STREAMDVR_PLUS_MIN_SIZE=50 # is filesize after Recording under this Size it was automatic deleted -> changes work only at container restart
- STREAMDVR_PLUS_HOSTNAME=streamdvr_plus.localhost
- STREAMDVR_PLUS_LOCAL_IP=192.168.1.20 # example: NAS-IP
- STREAMDVR_PLUS_VALID=800 # valid days
- STREAMDVR_PLUS_CERT=certificate.pem
- STREAMDVR_PLUS_KEY=key.pem
- STREAMDVR_PLUS_OLARES_OS=0
# optionally for STREAMDVR_PLUS_OLARES_OS:
# - STREAMDVR_PLUS_HTTP_PORT=18081
# - STREAMDVR_PLUS_HTTPS_PORT=443
# Hardening Logs
# - STREAMDVR_PLUS_DB_TIMEOUT_SECONDS=30
# - STREAMDVR_PLUS_DB_RETRIES=12
# - STREAMDVR_PLUS_DB_RETRY_SLEEP=0.08
volumes:
- ./data:/data
- ./downloads:/downloads
- ./recordings:/recordings
- ./certificate:/certificate
# optional: own yt-dlp working copy (Extractor live edit + git pull or add files)
- ./yt-dlp-src:/opt/yt-dlp-src
restart: always
Content type
Image
Digest
sha256:736fe9f6e…
Size
633.4 MB
Last updated
28 days ago
docker pull nitje/streamdvr_plus