forked from SimpleHomelab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-t2-obsolete.yml
executable file
·287 lines (276 loc) · 9 KB
/
docker-compose-t2-obsolete.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
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
version: "3.7"
################ THESE ARE APPS I USED TO USE BUT NOT ANYMORE ###########
########################### NETWORKS
networks:
t2_proxy:
external:
name: t2_proxy
default:
driver: bridge
########################### SERVICES
services:
# MiFlora MQTT Daemon - BT to MQTT Daemon for MiFlora Sensors
miflora:
image: raymondmm/miflora-mqtt
container_name: miflora-mqtt
environment:
- TZ=$TZ
network_mode: host
# user: "0"
volumes:
- $USERDIR/docker/miflora-mqtt/config:/config
restart: unless-stopped
# Varken - Monitor Plex, Sonarr, Radarr, and Other Data
varken:
image: boerderij/varken
container_name: varken
restart: unless-stopped
networks:
- t2_proxy
volumes:
- $USERDIR/docker/varken:/config
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
VRKN_GLOBAL_SONARR_SERVER_IDS: 1
VRKN_GLOBAL_RADARR_SERVER_IDS: 1
VRKN_GLOBAL_LIDARR_SERVER_IDS: "false"
VRKN_GLOBAL_TAUTULLI_SERVER_IDS: 1
VRKN_GLOBAL_OMBI_SERVER_IDS: "false"
VRKN_GLOBAL_SICKCHILL_SERVER_IDS: "false"
VRKN_GLOBAL_UNIFI_SERVER_IDS: 1
VRKN_INFLUXDB_URL: $SERVER_IP
VRKN_INFLUXDB_PORT: 8086
VRKN_INFLUXDB_SSL: "false"
VRKN_INFLUXDB_VERIFY_SSL: "false"
VRKN_INFLUXDB_USERNAME: $VARKEN_USER
VRKN_INFLUXDB_PASSWORD: $VARKEN_PASS
VRKN_TAUTULLI_1_URL: $SERVER_IP:$TAUTULLI_PORT
VRKN_TAUTULLI_1_FALLBACK_IP: 1.1.1.1
VRKN_TAUTULLI_1_APIKEY: $TAUTULLI_API_KEY
VRKN_TAUTULLI_1_SSL: "false"
VRKN_TAUTULLI_1_VERIFY_SSL: "false"
VRKN_TAUTULLI_1_GET_ACTIVITY: "true"
VRKN_TAUTULLI_1_GET_ACTIVITY_RUN_SECONDS: 30
VRKN_TAUTULLI_1_GET_STATS: "true"
VRKN_TAUTULLI_1_GET_STATS_RUN_SECONDS: 3600
VRKN_SONARR_1_URL: $SERVER_IP:$SONARR_PORT
VRKN_SONARR_1_APIKEY: $SONARR_API_KEY
VRKN_SONARR_1_SSL: "false"
VRKN_SONARR_1_VERIFY_SSL: "false"
VRKN_SONARR_1_MISSING_DAYS: 7
VRKN_SONARR_1_MISSING_DAYS_RUN_SECONDS: 300
VRKN_SONARR_1_FUTURE_DAYS: 1
VRKN_SONARR_1_FUTURE_DAYS_RUN_SECONDS: 300
VRKN_SONARR_1_QUEUE: "true"
VRKN_SONARR_1_QUEUE_RUN_SECONDS: 300
VRKN_RADARR_1_URL: $SERVER_IP:$RADARR_PORT
VRKN_RADARR_1_APIKEY: $RADARR_API_KEY
VRKN_RADARR_1_SSL: "false"
VRKN_RADARR_1_VERIFY_SSL: "false"
VRKN_RADARR_1_QUEUE: "true"
VRKN_RADARR_1_QUEUE_RUN_SECONDS: 300
VRKN_RADARR_1_GET_MISSING: "true"
VRKN_RADARR_1_GET_MISSING_RUN_SECONDS: 300
VRKN_UNIFI_1_URL: $UNIFI_HOST
VRKN_UNIFI_1_USERNAME: $UNIFI_USER
VRKN_UNIFI_1_PASSWORD: $UNIFI_PASS
VRKN_UNIFI_1_SITE: default
VRKN_UNIFI_1_USG_NAME: USG
VRKN_UNIFI_1_SSL: "true"
VRKN_UNIFI_1_VERIFY_SSL: "false"
VRKN_UNIFI_1_GET_USG_STATS_RUN_SECONDS: 300
# xTeve - IPTV proxy for Plex
xteve:
image: alturismo/xteve
container_name: xteve
restart: unless-stopped
# network_mode: host
networks:
- t2_proxy
ports:
- "34400:34400"
- "1901:1900"
# user: "0"
# logging:
# options:
# max-size: "10m"
# max-files: 3
environment:
TZ: $TZ
volumes:
- $USERDIR/docker/xteve:/config:rw
- /dev/shm:/tmp/xteve
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.xteve-rtr.entrypoints=https"
- "traefik.http.routers.xteve-rtr.rule=Host(`xteve.$DOMAINNAME`)"
- "traefik.http.routers.xteve-rtr.tls=true"
## Middlewares
- "traefik.http.routers.xteve-rtr.middlewares=chain-authelia@file"
## HTTP Services
- "traefik.http.routers.xteve-rtr.service=xteve-svc"
- "traefik.http.services.xteve-svc.loadbalancer.server.port=34400"
# Cloud IDE - Editing
cloud9:
image: linuxserver/cloud9
container_name: cloud9
restart: unless-stopped
networks:
- t2_proxy
security_opt:
- no-new-privileges:true
ports:
- "$CLOUD9_PORT:8000"
volumes:
- $USERDIR/server/scripts:/code
- /var/run/docker.sock:/var/run/docker.sock
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
# PASSWORD: $CLOUD9_PASSWORD
# USERNAME: $CLOUD9_USERNAME
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.cloud9-rtr.entrypoints=https"
- "traefik.http.routers.cloud9-rtr.rule=Host(`cloud9.$DOMAINNAME`)"
- "traefik.http.routers.cloud9-rtr.tls=true"
## Middlewares
- "traefik.http.routers.cloud9-rtr.middlewares=chain-authelia@file"
## HTTP Services
- "traefik.http.routers.cloud9-rtr.service=cloud9-svc"
- "traefik.http.services.cloud9-svc.loadbalancer.server.port=8000"
# Cloud Commander - web file manager
cloudcmd:
image: coderaiser/cloudcmd
container_name: cloudcmd
restart: unless-stopped
networks:
- t2_proxy
security_opt:
- no-new-privileges:true
volumes:
- $USERDIR/docker/cloudcmd:/root
- $USERDIR:/mnt/fs
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.cloudcmd-rtr.entrypoints=https"
- "traefik.http.routers.cloudcmd-rtr.rule=Host(`cloudcmd.$DOMAINNAME`)"
- "traefik.http.routers.cloudcmd-rtr.tls=true"
## Middlewares
- "traefik.http.routers.cloudcmd-rtr.middlewares=chain-authelia@file"
## HTTP Services
- "traefik.http.routers.cloudcmd-rtr.service=cloudcmd-svc"
- "traefik.http.services.cloudcmd-svc.loadbalancer.server.port=8000"
# VSCode Server - VSCode Editing
# WARNING: This appears to change permissions of all files to PUID:PGID
code-server:
image: linuxserver/code-server:latest
container_name: code-server
restart: unless-stopped
networks:
- t2_proxy
security_opt:
- no-new-privileges:true
ports:
- "$CODE_SERVER_PORT:8443"
volumes:
- $USERDIR/docker/code-server:/config
- $USERDIR:/home/user
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
PASSWORD: $VSCODE_PASSWORD
# SUDO_PASSWORD: $VSCODE_SUDO_PASSWORD
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.code-server-rtr.entrypoints=https"
- "traefik.http.routers.code-server-rtr.rule=Host(`code.$DOMAINNAME`)"
- "traefik.http.routers.code-server-rtr.tls=true"
## Middlewares
- "traefik.http.routers.code-server-rtr.middlewares=chain-authelia@file"
## HTTP Services
- "traefik.http.routers.code-server-rtr.service=code-server-svc"
- "traefik.http.services.code-server-svc.loadbalancer.server.port=8443"
# Home Assistant Core - Home Automation
homeassistant:
container_name: homeassistant
restart: unless-stopped
image: homeassistant/home-assistant:stable
networks:
- t2_proxy
devices:
- /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyUSB1:/dev/ttyUSB1
- /dev/ttyACM0:/dev/ttyACM0
volumes:
- ${USERDIR}/docker/hassio/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/docker/shared:/shared
- ${USERDIR}/docker/open-zwave:/open-zwave
ports:
- "$HOMEASSISTANT_PORT:8123"
environment:
- TZ=${TZ}
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.homeassistant-rtr.entrypoints=https"
- "traefik.http.routers.homeassistant-rtr.rule=Host(`hassio.$DOMAINNAME`)"
- "traefik.http.routers.homeassistant-rtr.tls=true"
## Middlewares
- "traefik.http.routers.homeassistant-rtr.middlewares=chain-no-auth@file"
## HTTP Services
- "traefik.http.routers.homeassistant-rtr.service=homeassistant-svc"
- "traefik.http.services.homeassistant-svc.loadbalancer.server.port=8123"
# qBittorrent - Torrent downloader
# Needs trailing / if using PathPrefixStrip
qbittorrent:
image: linuxserver/qbittorrent:latest
container_name: qbittorrent
restart: always
network_mode: container:transmission-vpn
security_opt:
- no-new-privileges:true
volumes:
- $USERDIR/docker/qbittorrent:/config
- $USERDIR/Downloads:/downloads
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
UMASK_SET: 002
WEBUI_PORT: 8168
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.qbittorrent-rtr.entrypoints=https"
- "traefik.http.routers.qbittorrent-rtr.rule=Host(`qbit.$DOMAINNAME`)"
- "traefik.http.routers.qbittorrent-rtr.tls=true"
## Middlewares
- "traefik.http.routers.qbittorrent-rtr.middlewares=chain-authelia@file"
## HTTP Services
- "traefik.http.routers.qbittorrent-rtr.service=qbittorrent-svc"
- "traefik.http.services.qbittorrent-svc.loadbalancer.server.port=8168"
# Cloudflare DDNS - Dynamic DNS Updater
cloudddns:
container_name: cloudddns
restart: always
image: joshava/cloudflare-ddns
volumes:
- $USERDIR/docker/cloudflare-ddns/config.yaml:/app/config.yaml
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ