formatting

This commit is contained in:
Alex Shnitman 2023-05-27 19:14:52 +03:00
parent c30173cdc0
commit 2a7cf3e775
3 changed files with 2 additions and 32 deletions

View File

@ -1,30 +0,0 @@
version: "3"
services:
metube:
# Local Build: Use the following to build the Docker image locally
build:
context: .
dockerfile: ./Dockerfile
image: metube
# Official Image: Comment out the lines above and uncomment the following line to use the official image
# image: ghcr.io/alexta69/metube
container_name: metube
restart: unless-stopped
ports:
- "8081:8081"
# Example environment variables
environment:
# UID: 1000
# GID: 1000
YTDL_OPTIONS: '{"writesubtitles": true, "subtitleslangs": ["en", "-live_chat"], "postprocessors": [{"key": "FFmpegEmbedSubtitle", "already_have_subtitle": false}, {"key": "FFmpegMetadata", "add_chapters": true}]}'
# Configure yt-dlp to download intermediary files to /temp
TEMP_DIR: /temp
volumes:
- ./downloads:/downloads
# Mount /temp using tmpfs
# This will store the intermediary files in memory, making downloads faster; however, you won't be able to
# resume a download if you stop the container
- type: tmpfs
target: /temp:rw,nosuid,nodev,exec