-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-plex.yml
79 lines (73 loc) · 1.98 KB
/
docker-compose-plex.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
name: davdebrid
services:
davdebrid:
image: arvida42/davdebrid:latest
container_name: davdebrid
restart: always
environment:
DEBRID_ID: debridlink # Supported debrids: https://github.com/arvida42/davdebrid/tree/main/src/lib/debrid
DEBRID_API_KEY: # Get it on https://debrid-link.com/webapp/apikey
DATA_FOLDER: /data
PLEX_URL: http://plex:32400
PLEX_TOKEN: # go on plex: http://localhost:32400, open devtool, copy and past the result of "localStorage.myPlexAccessToken"
networks:
- davdebrid
volumes:
- davdebrid-data:/data
rclone:
image: rclone/rclone:latest
container_name: rclone
restart: always
environment:
PUID: 1000
PGID: 1000
RCLONE_CONFIG_DAV_TYPE: "webdav"
RCLONE_CONFIG_DAV_URL: "http://davdebrid:8080"
RCLONE_CONFIG_DAV_VENDOR: "other"
networks:
- davdebrid
volumes:
- davdebrid-mnt:/mnt/dav:rshared
cap_add:
- SYS_ADMIN
- MKNOD
security_opt:
- apparmor:unconfined
devices:
- /dev/fuse:/dev/fuse:rwm
depends_on:
- davdebrid
command: "mount dav: /mnt/dav --dir-cache-time 5s --allow-other --vfs-cache-mode full --vfs-cache-max-size 500M --vfs-read-chunk-size 4M --vfs-read-chunk-size-limit 256M --vfs-fast-fingerprint --read-only --allow-non-empty"
plex:
image: lscr.io/linuxserver/plex:latest
container_name: plex
restart: always
ports:
- 32400:32400
- 1900:1900/udp
# - 5353:5353/udp
- 8324:8324
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
- 32469:32469
environment:
PUID: 1000
PGID: 1000
TZ: Etc/UTC
VERSION: docker
PLEX_CLAIM: # Get it on https://plex.tv/claim
networks:
- davdebrid
volumes:
- plex-config:/config
- davdebrid-mnt:/mnt/dav:rshared
depends_on:
- rclone
networks:
davdebrid:
volumes:
davdebrid-data:
davdebrid-mnt:
plex-config: