summarylogtreecommitdiffstats
path: root/docker-compose.yaml
blob: 7eaf55361c68efc859f50cbca95afbb701f733af (plain)
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
---
version: "3.8"

x-environment: &env
  - PUID
  - PGID
  - TZ

x-network: &net
  - nzb

x-default: &default
  environment: *env
  networks: *net
  restart: unless-stopped

services:
  sabnzbd:
    image: lscr.io/linuxserver/sabnzbd:latest
    container_name: sabnzbd
    profiles: ["all", "sabnzbd"]
    <<: *default
    volumes:
      - ${SABNZBD_PATH_CONFIG}:/config
      - ${SABNZBD_PATH_INCOMPLETE_DOWNLOADS}:/incomplete-downloads
      - ${SABNZBD_PATH_DOWNLOADS}:/downloads
    ports:
      - ${SABNZBD_PORT}:8080

  nzbhydra2:
    image: lscr.io/linuxserver/nzbhydra2:latest
    container_name: nzbhydra2
    profiles: ["all", "nzbhydra2"]
    <<: *default
    volumes:
      - ${NZBHYDRA2_PATH_CONFIG}:/config
    ports:
      - ${NZBHYDRA2_PORT}:5076

  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    profiles: ["all", "sonarr"]
    <<: *default
    volumes:
      - ${SONARR_PATH_CONFIG}:/config
      - ${SONARR_PATH_TV}:/tv
      - ${SONARR_PATH_DOWNLOADS}:/downloads
    ports:
      - ${SONARR_PORT}:8989

networks:
  nzb: