-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
172 lines (172 loc) · 4.97 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
version: "3.4"
networks:
arr-network:
driver: bridge
ipam:
driver: default
config:
- subnet: "172.30.172.0/24"
enable_ipv6: false
services:
nordlynx:
image: ghcr.io/bubuntux/nordlynx
container_name: nordlynx
cap_add:
- NET_ADMIN
- SYS_MODULE # maybe; May resolve curl ipv6 issue where host cannot resolve
environment:
- PRIVATE_KEY=$nordlynx_pkey # required
- QUERY=filters\[country_id\]=228&filters\[servers_groups\]\[identifier\]=legacy_p2p&filters\[servers_technologies\]\[identifier\]=wireguard_udp #https://api.nordvpn.com/v1/servers/recommendations?filters\[country_id\]=228&filters\[servers_groups\]\[identifier\]=legacy_p2p&filters\[servers_technologies\]\[identifier\]=wireguard_udp
- NET_LOCAL=192.168.1.0/24 # required; Set your LAN subnet mask
- DNS=1.1.1.1,1.0.0.1,8.8.8.8
- RECONNECT=3600 # Optional, force reconnect after 3600s (1hr)
- TZ=$timezone
ports:
- 9080:9080 # qbittorrent Web GUI
# - 9117:9117 # jackett Web GUI
- 9696:9696 # prowlarr Web GUI
sysctls:
- net.ipv4.conf.all.src_valid_mark=1 # maybe; May resolve curl ipv6 issue where host cannot resolve
- net.ipv4.conf.all.rp_filter=2 # maybe; set reverse path filter to loose mode; May resolve curl ipv6 issue where host cannot resolve
- net.ipv6.conf.all.disable_ipv6=1 # disable ipv6; recommended if using ipv4 only
networks:
- arr-network
restart: always
labels:
- autoheal=true # Required for willfarrell/docker-autoheal
healthcheck: # override the default health check conditions
interval: 30s
timeout: 5s
retries: 3
qbittorrent:
image: ghcr.io/linuxserver/qbittorrent
container_name: qbittorrent
cap_add:
- NET_ADMIN
network_mode: service:nordlynx
depends_on:
nordlynx:
condition: service_started
environment:
- PUID=1000
- PGID=997
- TZ=$timezone
- WEBUI_PORT=9080
- DOCKER_MODS=arafatamim/linuxserver-io-mod-vuetorrent
volumes:
- qbit_config:/config
- media:/media
restart: always
labels:
- autoheal=true # Required for willfarrell/docker-autoheal
healthcheck: # Required for willfarrell/docker-autoheal
test: curl --fail --ipv4 https://google.com || exit 1
interval: 60s
timeout: 5s
retries: 3
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
cap_add:
- NET_ADMIN
network_mode: service:nordlynx
depends_on:
nordlynx:
condition: service_started
environment:
- PUID=1000
- PGID=1000
- TZ=$timezone
volumes:
- prowlarr_config:/config
restart: always
labels:
- autoheal=true # Required for willfarrell/docker-autoheal
healthcheck: # Required for willfarrell/docker-autoheal
test: curl --fail --ipv4 https://google.com || exit 1
interval: 60s
timeout: 5s
retries: 3
sonarr:
image: ghcr.io/linuxserver/sonarr
container_name: sonarr
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=997
- TZ=$timezone
volumes:
- sonarr_config:/config
- media:/media
ports:
- 8989:8989
networks:
- arr-network
restart: always
labels:
- autoheal=true # Required for willfarrell/docker-autoheal
healthcheck: # Required for willfarrell/docker-autoheal
test: curl --fail --ipv4 https://google.com || exit 1
interval: 60s
timeout: 5s
retries: 3
radarr:
image: ghcr.io/linuxserver/radarr
container_name: radarr
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=997
- TZ=$timezone
volumes:
- radarr_config:/config
- media:/media
ports:
- 7878:7878
networks:
- arr-network
restart: always
labels:
- autoheal=true # Required for willfarrell/docker-autoheal
healthcheck: # Required for willfarrell/docker-autoheal
test: curl --fail --ipv4 https://google.com || exit 1
interval: 60s
timeout: 5s
retries: 3
readarr:
image: lscr.io/linuxserver/readarr:nightly
container_name: readarr
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- TZ=$timezone
volumes:
- readarr_config:/config
- media:/media
ports:
- 8787:8787
networks:
- arr-network
restart: always
labels:
- autoheal=true # Required for willfarrell/docker-autoheal
healthcheck: # Required for willfarrell/docker-autoheal
test: curl --fail --ipv4 https://google.com || exit 1
interval: 60s
timeout: 5s
retries: 3
volumes:
qbit_config:
prowlarr_config:
sonarr_config:
radarr_config:
readarr_config:
media:
driver_opts:
type: cifs
o: username=$nasUser,password=$nasPass,file_mode=0777,dir_mode=0777,noperm
device: $nasMediaPath