forked from sebgl/htpc-download-box
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdocker-compose.yml
70 lines (64 loc) · 1.86 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
version: "3.4"
services:
yacht:
container_name: yacht
image: selfhostedpro/yacht:latest
restart: unless-stopped
ports:
- 8000:8000
volumes:
- ${CONFIG}/yacht:/config
- /var/run/docker.sock:/var/run/docker.sock
node_exporter:
container_name: node_exporter
image: quay.io/prometheus/node-exporter:latest
command:
- '--path.rootfs=/host'
network_mode: host
pid: host
restart: unless-stopped
volumes:
- '/:/host:ro,rslave'
prometheus:
container_name: prometheus
image: prom/prometheus:latest
restart: unless-stopped
volumes:
- ${CONFIG}/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
grafana:
container_name: grafana
image: grafana/grafana:latest
restart: unless-stopped
ports:
- 3000:3000
deluge:
container_name: deluge
image: linuxserver/deluge:latest
restart: unless-stopped
network_mode: service:openvpn # run on the vpn network
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
volumes:
- ${ROOT}/downloads:/downloads # downloads folder
- ${CONFIG}/deluge:/config # config files
plex-server:
container_name: plex-server
image: linuxserver/plex:latest
restart: unless-stopped
network_mode: host
environment:
- PUID=${PUID} # default user id, defined in .env
- PGID=${PGID} # default group id, defined in .env
- TZ=${TZ} # timezone, defined in .env
- VERSION=docker
volumes:
- ${CONFIG}/plex/db:/config # plex database
- ${CONFIG}/plex/transcode:/transcode # temp transcoded files
- ${ROOT}/tv:/data/tvshows # tvshows library
- ${ROOT}/movies:/data/movies # tvshows library
volumes:
yacht: