NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 2 3 4 5 … 7 Next »
NextPVR in 2 containers

 
  • 0 Vote(s) - 0 Average
NextPVR in 2 containers
bigoldboy
Offline

Junior Member

Posts: 15
Threads: 4
Joined: Dec 2017
#1
2021-05-23, 10:05 PM
I have had NextPVR running well in a docker container on my QNAP NAS for almost a year. I am wanting to launch a second container for some testing of stream recording. I figured it would be build a second container identical to the first, but with the port assignment 8866:8888 and access it that way. But not working. It spins up, builds the config file and npvr.db3 etc but I can't access it via <myip>:8888.  Thoughts?

Actual config is:
version: '3'
services:
  nextpvr:
    image: nextpvr/nextpvr_amd64Confusedtable
    container_name: testing-nextpvr
    network_mode: host
    environment:
      - PUID=0
      - PGID=0
      - VERSION=docker
    volumes:
      - /share/Cloud/NextPVR/recordings:/recordings
      - /share/Cloud/NextPVR/buffer:/buffer
      - /share/Cloud/NextPVR/config:/config
    ports:
      - 8866:8888
    restart: unless-stopped
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,400
Threads: 741
Joined: Nov 2003
#2
2021-05-23, 10:10 PM
Have you got that port mapping the right way around? I thought it was the other way. ie, 8888:8866 so that if you try accessing port 8888, it's mapping to port 8866 within the container.
bigoldboy
Offline

Junior Member

Posts: 15
Threads: 4
Joined: Dec 2017
#3
2021-05-23, 11:28 PM
(2021-05-23, 10:10 PM)sub Wrote: Have you got that port mapping the right way around? I thought it was the other way. ie, 8888:8866 so that if you try accessing port 8888, it's mapping to port 8866 within the container.

You are correct. Tried it both ways (8888:8866 and 8866:8888) and neither worked. Then I stopped the original container and I the could connect on port 8866 to the second container!  Hmm. So then I set the second container to 8888:8888 and changed to <Port>8888</Port> in config.xml and poof, original on port 8866 and second on 8888!

Then I thought, what if both containers had 8866:8866 and, they both work, one on 8866 and one on 8888 even though both containers map 8866:8866. Makes zero sense to me. It is like the port mapping in the container is ignored.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting guide data for Kodi and NextPVR on Synology NAS NewUser 2 185 2023-01-02, 04:42 PM
Last Post: sub
  TrueNAS Scale - NextPVR asw2012 24 1,114 2022-09-28, 09:01 PM
Last Post: Tugdwal
  NextPVR in Unraid Docker is writing recordings with 755 permissions antenna 4 610 2022-09-24, 12:20 AM
Last Post: greg in kansas
  NextPVR in Docker on Synology not finding 'epg.xml' huntercj 3 311 2022-09-04, 08:10 AM
Last Post: huntercj
  nextpvr with dockstarter mexjerry 2 586 2022-02-16, 07:17 PM
Last Post: mexjerry
  Assign different IPs to NextPVR for different Sat-IP Receivers tkleinka 10 1,310 2021-06-06, 10:03 PM
Last Post: mvallevand
  Time is incorrect inside logs of NextPVR inside docker container janoonk 4 1,217 2021-01-28, 01:41 PM
Last Post: janoonk
  Nextpvr & Docker mexjerry 18 2,997 2020-11-29, 02:39 PM
Last Post: mexjerry
  NextPVR Docker wont Start vintdiesel 4 1,872 2019-08-07, 10:35 AM
Last Post: vintdiesel

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

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

Linear Mode
Threaded Mode