-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (40 loc) · 876 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (40 loc) · 876 Bytes
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
40
41
42
x-learnpress-defaults: &learnpress-defaults
build:
context: .
dockerfile: Dockerfile
image: learnpress-dl:local
env_file:
- .env
stdin_open: true
tty: true
volumes:
- ./downloads:/work/downloads
- ./runtime:/work/runtime
services:
learnpress-dl:
<<: *learnpress-defaults
command:
- --cookie-file
- /work/runtime/cookies.txt
- --output-dir
- /work/downloads
- --download-videos
- --download-transcripts
- --check-depth
- fast
- --parallel
- "2"
- --zip-courses
learnpress-dl-retry-failed:
<<: *learnpress-defaults
command:
- --cookie-file
- /work/runtime/cookies.txt
- --output-dir
- /work/downloads
- --retry-failed
- --download-videos
- --download-transcripts
- --parallel
- "1"
- --zip-courses