set up NZBGET and Sonarr in docker via Portainer

  • I start with making a user specific to docker, this is the first user in my omv users.


    use putty to ssh into your nas


    make a config folder in your dockerusers home directory, like /home/dockeruser/.config/nzbget


    install omv-extras from https://omv-extras.org/


    log into the omv user interface, go to the omv extras tab, click on docker and then on docker-->install, and portainer-->install


    click on open web for the portainer interface


    NZBGET


    in portainer click on local, containers, +add container, then fill in the following:


    name: nzbget


    image: linuxserver/nzbget


    ports:


    click on Manual network port publishing, then +publish a new network port


    host 6789 --> container 6789


    then go to


    volumes-->map additional volumes:


    for container fill in /config then click bind and fill in /home/dockeruser/.config/nzbget for the volume


    do the same for /downloads ---> dev/dev-disk-by-label-YOURDRIVENAME/YOURDOWNLOADSFOLDER


    then go to


    env-->add environment variable:


    name: PUID value: 1000


    name: PGID value: 100 (it is 100 if your dockeruser is the first user in omv, if not then ssh into your nas and type id username for the correct number)


    name: TZ value: Europe/Amsterdam



    then go to restart policy, set to unless stopped



    other sections, like network etc can stay at the default settings.


    press deploy container


    done! configure nzbget via your webbrowser http://yournasIP:6789


    SONARR


    then add another container for sonarr, follow the same steps, but use:


    name: sonarr


    image: linuxserver/sonarr


    ports: 8989 map to 8989


    volumes:


    /config ---> /home/dockeruser/.config/sonarr


    /downloads ---> /srv/dev-disk-by-label-YOURDRIVENAME/YOURDOWNLOADSFOLDER


    /tv ---> /srv/dev-disk-by-label-YOURDRIVENAME/YOURTVSHOWSFOLDER


    env:


    PUID 1000


    PGID 100 (it is 100 if your dockeruser is the first user in omv, if not then log into your nas and type id username for the correct number)


    TZ Europe/Amsterdam


    restart policy change to unless stopped


    click deploy container


    set up sonarr via your webbrowser http://yourNASIP:8989


    setup the dowloadclient in sonarr via settings-->downloadclient


    set to nzbdget, and change LOCALHOST to yourNASIP (so 192.xxx.x, make sure your nas has a static IP in your router setttings) Do not use the internal docker IP 172.XX.X as this is not static.

  • votdev

    Approved the thread.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!