services:

  sonarr:
    image: lscr.io/linuxserver/sonarr:latest
    container_name: sonarr
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
    volumes:
      - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sonarr/config:/config
      - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sonarr/tv:/tv
      - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/sonarr/downloads:/downloads # Should be the same as the download client's folder
    ports:
      - 8989:8989
    expose:
      - 8989
    restart: unless-stopped