-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·55 lines (54 loc) · 1.52 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
version: "3.6"
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
network_mode: 'host'
volumes:
- ./config:/config
- ./cache:/cache
- ${JELLYFIN_MEDIA}:/media
- ./fonts:/usr/share/fonts/truetype/dejavu
- ./fonts:/fonts
# - /path/to/media2:/media2:ro
restart: 'unless-stopped'
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
# 需要硬解使用并调整实际的device,不用就注释掉
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
- /dev/dri/card0:/dev/dri/card0
ab:
image: estrellaxd/auto_bangumi:latest
container_name: ab
ports:
- 7892:7892
environment:
- PUID=1000
- PGID=1000
volumes:
- ./ab/config:/app/config #不要动
- ./ab/data:/app/data #不要动
restart: unless-stopped
qb:
image: johngong/qbittorrent:latest
container_name: qb
ports:
- 8989:8989 #若需修改,两者应与下方的 QB_WEBUI_PORT 完全一致
environment:
- PUID=1000
- PGID=1000
- QB_EE_BIN=true
- QB_WEBUI_PORT=8989 #与 ports 一致
volumes:
- ./qb:/config #不要动
- ${JELLYFIN_MEDIA}${AB_DOWNLOAD}:/Media #自行修改,注意大小写
- ${QB_DOWNLOAD}:/Downloads
restart: unless-stopped
# 需要macvlan时使用, 不用注释掉
networks:
vlan:
ipv4_address: ${QB_IP}
# 需要macvlan时使用, 不用注释掉
networks:
vlan:
external: true