forked from jsavargas/telethon_downloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (37 loc) · 1.7 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3'
services:
telethon_downloader:
image: jsavargas/telethon_downloader
container_name: telethon_downloader
restart: unless-stopped
network_mode: host
environment:
- PUID=99
- PGID=100
- PERMISSIONS_FOLDER=777
- PERMISSIONS_FILE=755
- TG_AUTHORIZED_USER_ID= #<telegram chat_id authorized>
- TG_API_ID=168631
- TG_API_HASH=
- TG_BOT_TOKEN=
- TZ=America/Santiago
- APP_LANGUAGE=en_EN # OPTIONAL
- TG_UNZIP_TORRENTS=True # OPTIONAL (True/False)
- ENABLED_UNZIP=True # OPTIONAL (True/False)
- ENABLED_UNRAR=True # OPTIONAL (True/False)
- TG_MAX_PARALLEL=4 # OPTIONAL
- TG_DL_TIMEOUT=4600 # OPTIONAL
- TG_PROGRESS_DOWNLOAD=True # OPTIONAL (True/False)
- PROGRESS_STATUS_SHOW=10 # OPTIONAL
- YOUTUBE_FORMAT_AUDIO=bestaudio/best # OPTIONAL
- YOUTUBE_FORMAT_VIDEO=bestvideo+bestaudio/best # OPTIONAL
- YOUTUBE_DEFAULT_DOWNLOAD=VIDEO # OPTIONAL (AUDIO/VIDEO)
- YOUTUBE_DEFAULT_EXTENSION=MKV # OPTIONAL (mkv/mp4)
- YOUTUBE_SHOW_OPTION=True # OPTIONAL (True/False)
- YOUTUBE_TIMEOUT_OPTION=5 # OPTIONAL
- YOUTUBE_AUDIO_FOLDER=/youtube/audio # OPTIONAL
- YOUTUBE_VIDEO_FOLDER=/youtube/video # OPTIONAL
volumes:
- /path/to/config:/config
- /path/to/download:/download
- /path/to/download/torrent/watch:/watch