# Arr Suite WIP - Media automation
# Work-in-progress Arr stack configuration

version: '3.8'

services:
  tautulli:
    image: linuxserver/tautulli:latest
    container_name: tautulli
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
    volumes:
      - /volume1/docker2/tautulli:/config
    ports:
      - 8181:8181/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  linuxserver-prowlarr:
    image: linuxserver/prowlarr:latest
    container_name: prowlarr
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
    volumes:
      - /volume1/docker2/prowlarr:/config
    ports:
      - 9696:9696/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  flaresolverr:
    image: flaresolverr/flaresolverr:latest
    container_name: flaresolverr
    environment:
      - TZ=America/Los_Angeles
    ports:
      - 8191:8191
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  sabnzbd:
    image: linuxserver/sabnzbd:latest
    container_name: sabnzbd
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
      - HOST_WHITELIST=synobridge,192.168.0.1/24,127.0.0.1
      - LOCAL_RANGES=synobridge,192.168.0.1/24
    volumes:
      - /volume1/docker2/sabnzbd:/config
      - /volume1/data/usenet:/data/usenet
    ports:
      - 25000:8080/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  sonarr:
    image: linuxserver/sonarr:latest
    container_name: sonarr
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
    volumes:
      - /volume1/docker2/sonarr:/config
      - /volume1/data:/data
    ports:
      - 8989:8989/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  lidarr:
    image: linuxserver/lidarr:latest
    container_name: lidarr
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
    volumes:
      - /volume1/docker2/lidarr:/config
      - /volume1/data:/data
    ports:
      - 8686:8686/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  radarr:
    image: linuxserver/radarr:latest
    container_name: radarr
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
    volumes:
      - /volume1/docker2/radarr:/config
      - /volume1/data:/data
    ports:
      - 7878:7878/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  readarr:
    image: linuxserver/readarr:develop
    container_name: readarr
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
    volumes:
      - /volume1/docker2/readarr:/config
      - /volume1/data:/data
    ports:
      - 8787:8787/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  bazarr:
    image: linuxserver/bazarr:latest
    container_name: bazarr
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
    volumes:
      - /volume1/docker2/bazarr:/config
      - /volume1/data:/data
    ports:
      - 6767:6767/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  whisparr:
    image: hotio/whisparr:nightly
    container_name: whisparr
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
    volumes:
      - /volume1/docker2/whisparr:/config
      - /volume1/data:/data
    ports:
      - 6969:6969/tcp
    network_mode: synobridge
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  plex:
    image: linuxserver/plex:latest
    container_name: plex
    network_mode: host
    environment:
      - PUID=1027
      - PGID=65536
      - TZ=America/Los_Angeles
      - UMASK=022
      - VERSION=docker
      - PLEX_CLAIM=
    volumes:
      - /volume1/docker2/plex:/config
      - /volume1/data/media:/data/media
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped

  jellyseerr:
    image: fallenbagel/jellyseerr:latest
    container_name: jellyseerr
    user: 1027:65536
    environment:
      - TZ=America/Los_Angeles
    volumes:
      - /volume1/docker2/jellyseerr:/app/config
    ports:
      - 5055:5055/tcp
    network_mode: synobridge
    dns:
      - 9.9.9.9
      - 1.1.1.1
    security_opt:
      - no-new-privileges:true
    restart: unless-stopped
