-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy patharr-compose.yml
More file actions
170 lines (158 loc) · 4.46 KB
/
Copy patharr-compose.yml
File metadata and controls
170 lines (158 loc) · 4.46 KB
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
---
secrets:
radarr-api:
file: ./secrets/radarr-api.secret
sonarr-api:
file: ./secrets/sonarr-api.secret
services:
sonarr:
# See more: https://docs.linuxserver.io/images/docker-sonarr
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
restart: always
network_mode: service:gluetun
env_file: ./env/arr.env
volumes:
- sonarr:/config
- data:/media
healthcheck:
test: curl -f http://localhost:8989/ping || exit 1
interval: 10s
timeout: 3s
start_period: 60s
labels:
- traefik.enable=true
- traefik.http.routers.sonarr.rule=Host(`sonarr.${DOMAIN}`)
- traefik.http.routers.sonarr.entrypoints=websecure
- traefik.http.services.sonarr.loadbalancer.server.port=8989
depends_on:
gluetun:
condition: service_healthy
restart: true
traefik:
condition: service_healthy
restart: true
bittorrent:
condition: service_healthy
restart: true
radarr:
# See more: https://docs.linuxserver.io/images/docker-radarr
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
restart: always
network_mode: service:gluetun
env_file: ./env/arr.env
volumes:
- radarr:/config
- data:/media
healthcheck:
test: curl -f http://localhost:7878/ping || exit 1
interval: 10s
timeout: 3s
start_period: 60s
labels:
- traefik.enable=true
- traefik.http.routers.radarr.rule=Host(`radarr.${DOMAIN}`)
- traefik.http.routers.radarr.entrypoints=websecure
- traefik.http.services.radarr.loadbalancer.server.port=7878
depends_on:
gluetun:
condition: service_healthy
restart: true
traefik:
condition: service_healthy
restart: true
bittorrent:
condition: service_healthy
restart: true
prowlarr:
# See more: https://docs.linuxserver.io/images/docker-prowlarr
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
restart: always
network_mode: service:gluetun
env_file: ./env/arr.env
volumes:
- prowlarr:/config
- data:/media
healthcheck:
test: curl -f http://localhost:9696/ping || exit 1
interval: 10s
timeout: 3s
start_period: 60s
labels:
- traefik.enable=true
- traefik.http.routers.prowlarr.rule=Host(`prowlarr.${DOMAIN}`)
- traefik.http.routers.prowlarr.entrypoints=websecure
- traefik.http.services.prowlarr.loadbalancer.server.port=9696
depends_on:
gluetun:
condition: service_healthy
restart: true
traefik:
condition: service_healthy
restart: true
bittorrent:
condition: service_healthy
restart: true
sonarr:
condition: service_healthy
restart: true
radarr:
condition: service_healthy
restart: true
unpackerr:
# See more: https://unpackerr.zip/docs/install/compose
image: golift/unpackerr
container_name: unpackerr
restart: always
secrets:
- radarr-api
- sonarr-api
env_file: ./env/arr.env
volumes:
- data:/media
- unpackerr:/config
depends_on:
sonarr:
condition: service_healthy
restart: true
radarr:
condition: service_healthy
restart: true
networks:
default:
name: media_network
driver: bridge
attachable: true
volumes:
data: # Sonarr, Radarr, Prowlarr, and Unpackerr data mount
driver: local
driver_opts:
type: "nfs"
o: "addr=${NFS_SERVER},rw,tcp,nolock,hard,wsize=65536,rsize=65536"
device: ":${NFS_VOLUME}/data"
sonarr: # Sonarr app data.
driver: local
driver_opts:
type: "nfs"
o: "addr=${NFS_SERVER},rw,tcp,nolock,hard,wsize=65536,rsize=65536"
device: ":${NFS_VOLUME}/docker_data/sonarr"
radarr: # Radarr app data.
driver: local
driver_opts:
type: "nfs"
o: "addr=${NFS_SERVER},rw,tcp,nolock,hard,wsize=65536,rsize=65536"
device: ":${NFS_VOLUME}/docker_data/radarr"
prowlarr: # Prowlarr app data.
driver: local
driver_opts:
type: "nfs"
o: "addr=${NFS_SERVER},rw,tcp,nolock,hard,wsize=65536,rsize=65536"
device: ":${NFS_VOLUME}/docker_data/prowlarr"
unpackerr: # unPackerr app data.
driver: local
driver_opts:
type: "nfs"
o: "addr=${NFS_SERVER},rw,tcp,nolock,hard,wsize=65536,rsize=65536"
device: ":${NFS_VOLUME}/docker_data/unpackerr"