forked from plexguide/PlexGuide.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
05 - Initial YML Writeup
199 lines (197 loc) · 6.08 KB
/
05 - Initial YML Writeup
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
################# YML Writeup ################# START
# Save/Set this file location by using this initial commmand: sudo nano /opt/docker-compose.yml
# - you can copy and paste this whole file in to the docker-compose.yml file with no problems.
# Execute Script Command: cd /opt && sudo docker-compose -f docker-compose.yml up -d
# Quick delete and replace command: cd /opt && sudo rm -r docker-compose.yml && sudo nano docker-compose.yml
# The spacing in script is important or it will fail
---
version: '2'
services:
plex:
image: plexinc/pms-docker
container_name: plex
volumes:
- /opt/appdata/plex:/config
- /mnt:/shows
# Recommend PlexDrive 4 over 5 (performance and doesn't stop)
# If you installed PlexDrive 5... change "plexdrive4" to "plexdrive5"
- /mnt/plexdrive4/zilch/:/media
network_mode: host
# ensures this container starts up when required to
restart: always
environment:
- PUID=0
- PGID=0
portainer:
image: portainer/portainer
container_name: portainer
command: --templates http://templates/templates.json
volumes:
- /opt/appdata/portainer:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 9000:9000
# ensures this container starts up when required to
restart:
always
plexpy:
image: linuxserver/plexpy
container_name: plexpy
depends_on:
- plex
volumes:
- /opt/appdata/plexpy:/config
- /opt/appdata/plex/Library/Application\ Support/Plex\ Media\
ports:
- 8181:8181
links:
- plex
# ensures this container starts up when required to
restart: always
environment:
- PUID=1001
- PGID=1001
ombi:
image: linuxserver/ombi
container_name: ombi
ports:
- 3579:3579
volumes:
- /opt/appdata/ombi:/config
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=1001
- PGID=1001
# ensures this container starts up when required to
restart:
always
sonarr:
image: linuxserver/sonarr
container_name: sonarr
ports:
- 8989:8989
volumes:
# location to store sonarr data
- /opt/appdata/sonarr:/config
# important for providing time; don’t fully understand it
- /etc/localtime:/etc/localtime:ro
# this location is used to FORCE uploads of your tv shows to your google drive
- /mnt/rclone/zilch/tv:/tv
# directory to store downloads of downloaded files
- /mnt/sabtv/downloads/complete:/sabcomplete
# store a backup copy of nzbs; to prevent duplicates
- /mnt/sabtv/nzb:/nzbbackup
# stores NZBs in a black hole; sabnzbd monitors this black hole to START downloading files
- /mnt/sabtv/watch:/blackhole
environment:
- PUID=0
- PGID=0
# ensures this container starts up when required to
restart:
always
sabtv:
image: linuxserver/sabnzbd
container_name: sabtv
ports:
- 8090:8080
volumes:
# location of sabtv config - delete this folder if you want to reset SAB completely
- /opt/appdata/sabtv/config:/config
# no idea if it works, but important for timing
- /etc/localtime:/etc/localtime:ro
# location where complete files are stored; sonnar scans this directory to upload later
- /mnt/sabtv/downloads/complete:/complete
# location for your temporary storage
- /mnt/sabtv/downloads/incomplete:/incomplete
# location where sab keeps backup copies of NZB’s
- /mnt/sabtv/nzb:/nzb
# location where sab watches for NZBs provided by Sonnar to start downloading
- /mnt/sabtv/watch:/watch
environment:
- PUID=0
- PGID=0
# ensures this container starts up when required to
restart:
always
sabmovies:
image: linuxserver/sabnzbd
container_name: sabmovies
ports:
- 8095:8080
volumes:
- /opt/appdata/sabmovies/config:/config
- /etc/localtime:/etc/localtime:ro
- /mnt/sabmovies/downloads/complete:/complete
- /mnt/sabmovies/downloads/incomplete:/incomplete
- /mnt/sabmovies/nzb:/nzb
- /mnt/sabmovies/watch:/watch
environment:
- PUID=0
- PGID=0
# ensures this container starts up when required to
restart:
always
couchpotato:
image: linuxserver/couchpotato
container_name: couchpotato
ports:
- 5050:5050
volumes:
# couchpotato configuration data
- /opt/appdata/couch:/config
# directory to where movies are uploaded via RClone
- /mnt/rclone/zilch/movies:/movies
# used just for couchpotato to scan on what you have; no API Bans
# if using plexdrive5, change the 4 to a 5
- /mnt/plexdrive4/zilch/movies:/couchscans
# downloaded movie storage
- /mnt/sabmovies/downloads/complete:/sabcomplete
# this is where couch will drop nzb files for sab-movies to pick up
- /mnt/sabmovies/watch:/blackhole
environment:
- PUID=0
- PGID=0
# ensures this container starts up when required to
restart:
always
radarr:
image: linuxserver/radarr
container_name: radarr
ports:
- 7878:7878
volumes:
# configuration data
- /opt/appdata/radarr:/config
# directory to where movies are uploaded via RClone
- /mnt/rclone/zilch/movies:/movies
# used just for couchpotato to scan on what you have; no API Bans
# downloaded movie storage
- /mnt/sabmovies/downloads/complete:/downloads
# this is where couch will drop nzb files for sab-movies to pick up
- /mnt/sabmovies/watch:/blackhole
environment:
- PUID=0
- PGID=0
# ensures this container starts up when required to
restart:
always
muximux:
image: linuxserver/muximux
container_name: muximux
# If you want your ip or domain to load this directly, change the 8005 to 80 (80:80).
# If you plan on creating a web-interface; leave as 8005; port 80 is reserved for your website
ports:
- 8015:80
volumes:
- /opt/appdata/muximux/config:/config
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=1001
- PGID=1001
restart:
always
################# YML Writeup ################# END
################# Final Notes ################# Start
# Save/Set this file location: /opt/docker-compose.yml
# Execute Script Command: cd /opt && sudo docker-compose -f docker-compose.yml up -d
################# Final Notes ################# END