Whatbox Logo
Login for certain variables to be updated with your slot's information

Wiki > NZBHydra2

At this time, Whatbox servers have limited support for NZBHydra2 and containers. It may stop working at any time.

NZBHydra2 is a meta search for newznab indexers and torznab trackers.

Installation

  1. Connect to your slot through SSH

  2. Create a directory for NZBHydra2

     mkdir -p ~/nzbhydra2
    
  3. Create a compose file.

     touch ~/nzbhydra2/docker-compose.yml
    
  4. Edit the compose file

     nano ~/nzbhydra2/docker-compose.yml
    
  5. Copy the following adjusting your time zone if desired and changing your directory paths for your files as needed. Paste into the text editor. Once pasted, press Ctrl+S then Ctrl+X

services:
  nzbhydra2:
    image: lscr.io/linuxserver/nzbhydra2:latest
    container_name: nzbhydra2
    environment:
      - PUID=0
      - PGID=0
      - TZ=Etc/UTC
    volumes:
      - /home/user/nzbhydra:/config
      - /home/user:/home/user
    ports:
      - 27608:5076
    restart: unless-stopped
  1. Start the compose file:

     podman-compose -f ~/nzbhydra2/docker-compose.yml up -d
    
  2. Set up authentication in NZBHydra2. Go to http://server.whatbox.ca:27608/config/auth and change the Auth type to Login form. Then, set all of the Restrictions to the On position. Click Add a new user and fill in a username and password you will use to log into NZBHydra2. Click Save in the top right of the page to save the authentication settings, allow NZBHydra2 to restart, then log back in at http://server.whatbox.ca:27608

Accessing NZBHydra2

You will now be able to access NZBHydra2 at http://server.whatbox.ca:27608/

If you need to stop the container, you can shut it down with podman-compose -f ~/nzbhydra2/docker-compose.yml down. If you need to start it again, run podman-compose -f ~/nzbhydra2/docker-compose.yml up -d.