-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-servarr.yml
51 lines (48 loc) · 1.45 KB
/
docker-compose-servarr.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
# SPDX-FileCopyrightText: 2023 Ross Patterson <[email protected]>
#
# SPDX-License-Identifier: MIT
# Example Servarr service to demonstrate the integration with Prunerr.
#
# In a separate file because integrating with Servarr is optional. See the comment
# above `COMPOSE_FILE` in `./.env.in` for an example of how to add this file.
services:
sonarr:
image: "ghcr.io/hotio/sonarr"
container_name: "sonarr"
environment:
# Can't use Docker's `--user` option for images based on `s6-overlay`
PUID: "${PUID:-1000}"
PGID: "${PGID:-100}"
TZ: "America/Los_Angeles"
volumes:
- "./sonarr/config/:/config/"
# Add this uncommented to your deployment's `./docker-compose.override.yml`
# ports:
# - "8989:8989"
restart: "unless-stopped"
healthcheck:
test: >-
curl -Lv
"http://localhost:8989/api/v3/system/status?apikey=${SONARR_API_KEY:-}" |
grep '"appData": *"/config"'
radarr:
image: "ghcr.io/hotio/radarr"
container_name: "radarr"
environment:
PUID: "${PUID:-1000}"
PGID: "${PGID:-100}"
TZ: "America/Los_Angeles"
volumes:
- "./radarr/config/:/config/"
# ports:
# - "7878:7878"
restart: "unless-stopped"
healthcheck:
test: >-
curl -Lv
"http://localhost:7878/api/v3/system/status?apikey=${RADARR_API_KEY:-}" |
grep '"appData": *"/config"'
prunerr-daemon:
depends_on:
- "sonarr"
- "radarr"