NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
1 2 3 4 5 … 9 Next »
Install Information

Thread Closed 
 
  • 0 Vote(s) - 0 Average
Install Information
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#1
2019-06-15, 05:39 AM
Installing using Docker
This method is likely to be used for installation on NAS devices, or distros like LibreELEC. Running in a docker container NextPVR supports IPTV, HDHomeRun and digital tuners (DVB-T, DVB-C, DVB-S, ATSC and QAM).

On 64bit Intel machines, install the container image from Dockerhub using:
Code:
sudo docker image pull nextpvr/nextpvr_amd64:stable

Updating to a new release
If you already running NextPVR, and a new release is available, and you'd like to update, you'd typically run the same command again:
Code:
sudo docker image pull nextpvr/nextpvr_amd64:stable

Running the application with Docker
For the docker application to be able to stop channel lists and settings, that survive reboots, it needs to store it's use data in a location outside the docker container. It stores this information in the /config directory in the container, which you can map to a location outside of the container. To run the application interactively, so you can see the server output, with the configuration sent to the 'config' directory off your home ("~/config"), run the following command:
Code:
docker run -d \
    --name nextpvr \
    --volume /home/pi/config:/config \                    
    --volume /home/pi/videos:/recordings \
    --volume /home/pi/videos:/buffer \
    --restart unless-stopped \
    --publish 16891:16891/udp \
    --publish 8866:8866 \
    nextpvr/nextpvr_amd64:stable
--restart unless-stopped is telling docker to restart it if it crashes
--volume /home/pi/config:/config is telling it where to save your configuration
--volume /home/pi/videos:/recordings is telling it where to save your recordings
--volume /home/pi/videos:/buffer is telling it where to save your live tv buffer files
--publish 8866:8866 is telling docker to map port 8866 (on the host machine) to port 8866 inside the the docker container.
--publish 16891:16891/udp can help with auto discovery from some client applications.

If you're using an older legacy HDHomeRun, you'll also need these (with 192.168.1.51 replaced with your host's IP address):
Code:
--env HOST_IP=192.168.1.51 \
--publish 8020-8030:8020-8030/udp

If you need to use docker-compose, you can create a docker-compose.yml to achieve the same thing:
Code:
version: '3.5'
services:
  nextpvr:
    image: nextpvr/nextpvr_amd64:stable
    container_name: nextpvr
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Europe/london
    ports:
      - 8866:8866
      - 16891:16891/udp
    volumes:
      - d:/docker/config:/config
      - d:/docker/recordings:/recordings
      - d:/docker/buffer:/buffer
    restart: 'unless-stopped'

With NextPVR running, your can access the browser interface on port 8866. The default login is admin/password.

For info on how to get docker to auto start NextPVR after a reboot or crash, see here:
https://forums.nextpvr.com/showthread.ph...-questions
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Docker Install Showing Version Version: 5.1.1.210328 pkscout 3 1,744 2021-05-06, 04:12 PM
Last Post: sub
  New Install - Stream Failed Transcoder Exited fire fuze 24 9,020 2020-10-04, 04:54 PM
Last Post: mvallevand
  Help with Open Media Vault docker install. Me123 6 3,534 2020-06-02, 03:21 PM
Last Post: Me123
  Trying to install on Libreelec 9.2 MrGenius1 11 3,775 2019-12-24, 07:52 AM
Last Post: MrGenius1

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode