-
Notifications
You must be signed in to change notification settings - Fork 21
/
docker-compose.yml
264 lines (252 loc) · 7.19 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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
version: "3.3"
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${HOME}/.docker/config.json:/config.json
command: --label-enable --cleanup --schedule "0 0 4 * * *"
restart: unless-stopped
plex:
image: linuxserver/plex
container_name: plex
networks:
default:
ipv4_address: 172.20.1.1
ports:
- 32400:32400/tcp
- 32400:32400/udp
- 3005:3005/tcp
- 8324:8324/tcp
- 32469:32469/tcp
- 1901:1900/udp
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.plex.rule=Host(`plex.${DOMAIN}`)
- traefik.http.routers.plex.entrypoints=websecured
- traefik.http.services.plex.loadbalancer.server.port=32400
- traefik.http.routers.plex.tls.certresolver=myresolver
environment:
- PUID=${PUID}
- PGID=${PGID}
- VERSION=docker
- ADVERTISE_IP="https://plex.${DOMAIN}:443"
volumes:
- ${CONTAINERS}/plex/config:/config
- ${DATA}:/data
restart: unless-stopped
sonarr:
image: linuxserver/sonarr
container_name: sonarr
networks:
default:
ipv4_address: 172.20.1.2
ports:
- 8989:8989
depends_on:
- prowlarr
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.sonarr.rule=Host(`sonarr.${DOMAIN}`)
- traefik.http.routers.sonarr.entrypoints=websecured
- traefik.http.routers.sonarr.tls.certresolver=myresolver
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
volumes:
- ${CONTAINERS}/sonarr/config:/config
- ${CONTAINERS}/sonarr/empty:/downloads # Not used
- ${DATA}:/data
restart: unless-stopped
radarr:
image: linuxserver/radarr
container_name: radarr
networks:
default:
ipv4_address: 172.20.1.3
ports:
- 7878:7878
depends_on:
- prowlarr
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.radarr.rule=Host(`radarr.${DOMAIN}`)
- traefik.http.routers.radarr.entrypoints=websecured
- traefik.http.routers.radarr.tls.certresolver=myresolver
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
volumes:
- ${CONTAINERS}/radarr/config:/config
- ${CONTAINERS}/radarr/empty:/downloads # Not used
- ${DATA}:/data
restart: unless-stopped
bazarr:
image: linuxserver/bazarr
container_name: bazarr
networks:
default:
ipv4_address: 172.20.1.4
ports:
- 6767:6767
depends_on:
- sonarr
- radarr
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.bazarr.rule=Host(`bazarr.${DOMAIN}`)
- traefik.http.routers.bazarr.entrypoints=websecured
- traefik.http.routers.bazarr.tls.certresolver=myresolver
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
volumes:
- ${CONTAINERS}/bazarr/config:/config
- ${DATA}:/data
restart: unless-stopped
prowlarr:
image: linuxserver/prowlarr
container_name: prowlarr
networks:
default:
ipv4_address: 172.20.1.7
ports:
- 9696:9696
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.prowlarr.rule=Host(`prowlarr.${DOMAIN}`)
- traefik.http.routers.prowlarr.entrypoints=websecured
- traefik.http.routers.prowlarr.tls.certresolver=myresolver
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
- AUTO_UPDATE=true
volumes:
- ${CONTAINERS}/prowlarr/config:/config
restart: unless-stopped
sabnzbd:
image: linuxserver/sabnzbd
container_name: sabnzbd
networks:
default:
ipv4_address: 172.20.1.8
ports:
- 9050:8080
- 9051:9090
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.sabnzbd.rule=Host(`sabnzbd.${DOMAIN}`)
- traefik.http.routers.sabnzbd.entrypoints=websecured
- traefik.http.routers.sabnzbd.tls.certresolver=myresolver
- traefik.http.services.sabnzbd.loadbalancer.server.port=8080
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
volumes:
- ${CONTAINERS}/sabnzbd/config:/config
- ${DOWNLOADS}/usenet:/downloads
restart: unless-stopped
portainer:
image: portainer/portainer-ce
container_name: portainer
networks:
default:
ipv4_address: 172.20.2.2
ports:
- 9000:9000
- 8000:8000
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.portainer.rule=Host(`portainer.${DOMAIN}`)
- traefik.http.routers.portainer.entrypoints=websecured
- traefik.http.routers.portainer.tls.certresolver=myresolver
- traefik.http.services.portainer.loadbalancer.server.port=9000
restart: always
command: -H unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${CONTAINERS}/portainer:/data
portainer_agent:
image: portainer/agent
container_name: portainer-agent
networks:
default:
ipv4_address: 172.20.2.3
ports:
- 9001:9001
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /var/lib/docker/volumes:/var/lib/docker/volumes
restart: always
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=false
organizr:
image: organizr/organizr
container_name: organizr
networks:
default:
ipv4_address: 172.20.2.4
ports:
- 9983:80
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.orzanizr.rule=Host(`mediabox.${DOMAIN}`)
- traefik.http.routers.orzanizr.entrypoints=websecured
- traefik.http.routers.orzanizr.tls.certresolver=myresolver
- traefik.http.services.organizr.loadbalancer.server.port=80
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
volumes:
- ${CONTAINERS}/organizr:/config
restart: unless-stopped
duplicati:
image: linuxserver/duplicati
container_name: duplicati
networks:
default:
ipv4_address: 172.20.2.5
ports:
- 8200:8200
labels:
- com.centurylinklabs.watchtower.enable=true
- traefik.enable=true
- traefik.http.routers.duplicati.rule=Host(`duplicati.${DOMAIN}`)
- traefik.http.routers.duplicati.entrypoints=websecured
- traefik.http.routers.duplicati.tls.certresolver=myresolver
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TIMEZONE}
volumes:
- ${CONTAINERS}/duplicati/config:/config
- ${CONTAINERS}/duplicati/backups:/backups
- /:/source
restart: unless-stopped
networks:
default:
ipam:
driver: default
config:
- subnet: 172.20.0.0/16