This repository has been archived by the owner on Jul 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
79 lines (74 loc) · 2.31 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3.7'
services:
livedl:
image: ghcr.io/jim60105/live-dl
# build: ./live-dl
# image: live-dl
restart: always
volumes:
- ../YoutubeRecordings:/youtube-dl
- ./Monitor:/Monitor:ro
- ./start.sh:/start.sh:ro
## Cookies binding cannot be achieved with Docker secrets, because the cookies file must be writable.
- ./cookies.txt:/usr/src/app/cookies.txt
- ./config_live-dl.yml:/usr/src/app/config.yml:ro
## If necessary, bind the callback script to /usr/src/app/callback.sh.
# - ./download_again.sh:/usr/src/app/callback.sh:ro
- ./prune_dir.sh:/usr/src/app/prune_dir.sh:ro
env_file:
- .env
entrypoint: bash /start.sh
youtube-dl-server:
image: ghcr.io/jim60105/youtube-dl-server:yt-dlp_atomicparsley
# build:
# context: ./youtube-dl-server
# args:
# - ATOMICPARSLEY=1
# image: youtube-dl-server
restart: always
volumes:
- ../YoutubeRecordings:/youtube-dl
- ./config_youtube-dl-server.yml:/app_config/config.yml:ro
- ./cookies.txt:/cookies.txt
env_file:
- .env
environment:
- LETSENCRYPT_HOST=${HOST}
- VIRTUAL_HOST=${HOST}
networks:
- proxy-tier
jobber:
image: blacklabelops/jobber:docker
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ../YoutubeRecordings:/youtube-dl
- ./prune_dir.sh:/prune_dir.sh:ro
- ./:/docker-youtube-dl:ro
env_file:
- .env
environment:
- JOB_NAME1=PruneOldFiles
- JOB_COMMAND1=/bin/bash /prune_dir.sh /youtube-dl ${DelPercentage}
- JOB_TIME1=0 0 1 * * * #Exec per Day at UTC 01:00
- JOB_NOTIFY_ERR1=true
- JOB_NOTIFY_FAIL1=true
# - JOB_NAME2=backup-dl
# - JOB_COMMAND2=cd /docker-youtube-dl && docker-compose start backupdl
# - JOB_TIME2=0 0 2 * * * #Exec per Day at UTC 02:00
# - JOB_NOTIFY_ERR2=true
# - JOB_NOTIFY_FAIL2=true
# backupdl:
# image: ghcr.io/jim60105/backup-dl
# # build: ./backup-dl
# # image: backup-dl
# restart: 'no'
# volumes:
# ## Cookies binding cannot be achieved with Docker secrets, because the cookies file must be writable.
# - ./cookies.txt:/app/cookies.txt
# env_file:
# - .env
networks:
proxy-tier:
external: true
name: proxy-tier