-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
199 lines (186 loc) · 4.67 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
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
version: '3'
services:
plex:
container_name: ${COMPOSE_PROJECT_NAME}_plex
image: plexinc/pms-docker
hostname: plex-mediaserver
networks:
- macvlan
- bridge
environment:
- PLEX_UID=${MEDIA_UID}
- PLEX_GID=${MEDIA_GID}
volumes:
- plex_conf:/config
- plex_logs:/config/Library/Application Support/Plex Media Server/Logs
- ${MEDIA_STORAGE}/tmp/transcode:/transcode
- ${MEDIA_STORAGE}/media:/data
- /etc/localtime:/etc/localtime:ro
tautulli:
container_name: ${COMPOSE_PROJECT_NAME}_tautulli
image: tautulli/tautulli
networks:
- bridge
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
volumes:
- tautulli_conf:/config
- plex_logs:/plex_logs:ro
- /etc/localtime:/etc/localtime:ro
transmission:
container_name: ${COMPOSE_PROJECT_NAME}_transmission
image: linuxserver/transmission
networks:
- bridge
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
volumes:
- transmission_conf:/config
- ${MEDIA_STORAGE}/tmp/downloads:/downloads
- ${MEDIA_STORAGE}/tmp/watch:/watch
- /etc/localtime:/etc/localtime:ro
sonarr:
container_name: ${COMPOSE_PROJECT_NAME}_sonarr
image: linuxserver/sonarr
depends_on:
- transmission
- jackett
networks:
- bridge
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
volumes:
#- ${MEDIA_STORAGE}/config/sonarr:/config
- sonarr_conf:/config
- ${MEDIA_STORAGE}/tmp/downloads:/downloads
- ${MEDIA_STORAGE}/media/tv:/tv
- /etc/localtime:/etc/localtime:ro
sonarr_es:
container_name: ${COMPOSE_PROJECT_NAME}_sonarr_es
build:
context: sonarr_es
depends_on:
- transmission
- jackett
networks:
- bridge
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
volumes:
- sonarr_es_conf:/config
- ${MEDIA_STORAGE}/tmp/downloads:/downloads
- ${MEDIA_STORAGE}/media/es/tv:/tv
- /etc/localtime:/etc/localtime:ro
parserr:
container_name: ${COMPOSE_PROJECT_NAME}_parserr
build:
context: parserr
depends_on:
- sonarr_es
- radarr_es
networks:
- bridge
user: ${MEDIA_UID}:${MEDIA_GID}
environment:
- SONARR_DOWNLOAD_FOLDER=${SONARR_DOWNLOAD_FOLDER}
- SONARR_URL=${SONARR_URL}
- SONARR_APIKEY=${SONARR_APIKEY}
- RADARR_DOWNLOAD_FOLDER=${RADARR_DOWNLOAD_FOLDER}
- RADARR_URL=${RADARR_URL}
- RADARR_APIKEY=${RADARR_APIKEY}
volumes:
- ${MEDIA_STORAGE}/tmp/downloads:${SONARR_DOWNLOAD_FOLDER}
radarr:
container_name: ${COMPOSE_PROJECT_NAME}_radarr
image: linuxserver/radarr
depends_on:
- transmission
- jackett
networks:
- bridge
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
volumes:
- radarr_conf:/config
- ${MEDIA_STORAGE}/tmp/downloads:/downloads
- ${MEDIA_STORAGE}/media/movies:/movies
- /etc/localtime:/etc/localtime:ro
radarr_es:
container_name: ${COMPOSE_PROJECT_NAME}_radarr_es
build:
context: radarr_es
depends_on:
- transmission
- jackett
networks:
- bridge
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
volumes:
- radarr_es_conf:/config
- ${MEDIA_STORAGE}/tmp/downloads:/downloads
- ${MEDIA_STORAGE}/media/es/movies:/movies
- /etc/localtime:/etc/localtime:ro
jackett:
container_name: ${COMPOSE_PROJECT_NAME}_jackett
image: linuxserver/jackett
networks:
- bridge
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
volumes:
- jackett_conf:/config
- ${MEDIA_STORAGE}/tmp/watch:/downloads
- /etc/localtime:/etc/localtime:ro
nginx:
container_name: ${COMPOSE_PROJECT_NAME}_nginx
build:
context: nginx
ports:
- ${MEDIA_BASE_PORT}00:32400
- ${MEDIA_BASE_PORT}01:9091
- ${MEDIA_BASE_PORT}02:8989
- ${MEDIA_BASE_PORT}03:7878
- ${MEDIA_BASE_PORT}04:9117
- ${MEDIA_BASE_PORT}05:8181
- ${MEDIA_BASE_PORT}06:9898
- ${MEDIA_BASE_PORT}07:8787
depends_on:
- transmission
- jackett
- sonarr
- sonarr_es
- radarr
- radarr_es
- plex
networks:
- bridge
environment:
- PUID=${MEDIA_UID}
- PGID=${MEDIA_GID}
volumes:
- nginx_conf:/etc/nginx/conf.d
- /etc/localtime:/etc/localtime:ro
volumes:
plex_conf:
plex_logs:
transmission_conf:
jackett_conf:
sonarr_conf:
sonarr_es_conf:
radarr_conf:
radarr_es_conf:
tautulli_conf:
nginx_conf:
networks:
bridge:
driver: bridge
macvlan:
external: true