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 … 9 Next »
Docker compose

 
  • 0 Vote(s) - 0 Average
Docker compose
matt77303
Offline

Junior Member

United Kingdom
Posts: 16
Threads: 5
Joined: Apr 2021
#1
2023-06-23, 07:28 PM
Hi

Ive recently rebuilt my server and trying to get everything running via docker.

im using omv6 which allows docker install via docker compose not docker run.

Is there a guide for installing next pvr via docker compose? i can only find docker run ones.

ive got jellyfin etc running just cant find a nectpvr one.

Thank you

Matt
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2023-06-23, 07:37 PM
I've never used docker compose, but after googling it, you should be pretty easily able to create one from the parameters normally passed on the command line.
matt77303
Offline

Junior Member

United Kingdom
Posts: 16
Threads: 5
Joined: Apr 2021
#3
2023-06-23, 07:42 PM
Thanks for the reply,

Thats what i thought, i did but it errors out. the omv error messagses are less than helpfull

Matt
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2023-06-23, 07:47 PM
What does the docker compose file you created look like? I might be able to spot something.
matt77303
Offline

Junior Member

United Kingdom
Posts: 16
Threads: 5
Joined: Apr 2021
#5
2023-06-23, 08:15 PM (This post was last modified: 2023-06-23, 08:15 PM by matt77303.)
nextpvr:
image: nextpvr/nextpvr_amd64Confusedtable
container_name: nextpvr
network_mode: host
environment:
- PUID=1000
- PGID=100
- TZ=Europe/london
volumes:
-/docker_appdata/nextpvr:/config \
-/srv/dev-disk-by-uuid-00acb9b6-1784-4542-b3bf-3af51bf25178/nextpvr_recordings:/recordings \
-/srv/dev-disk-by-uuid-00acb9b6-1784-4542-b3bf-3af51bf25178/nextpvr_buffer:/buffer \
ports:
- 8866:8866
- publish 16891:16891/udp
restart: unless-stopped

this is the error...
500 - Internal Server Error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; docker-compose --file '/docker_compose//nextpvr/nextpvr.yml' --env-file '/docker_compose//nextpvr/nextpvr.env' config 2>&1': validating /docker_compose/nextpvr/nextpvr.yml: volumes must be a mapping
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,771
Threads: 954
Joined: May 2006
#6
2023-06-23, 11:56 PM
Did you try mapping config on a volume? This doesn't look right to me.

/docker_appdata/nextpvr

It can use a fair amount of space too.

Martin
matt77303
Offline

Junior Member

United Kingdom
Posts: 16
Threads: 5
Joined: Apr 2021
#7
2023-06-25, 08:17 AM
i keep looking at that bit but cant see a problem with it.

this is the same section from my jellyfin one....

volumes:
- /docker_appdata/jellyfin:/config

which goes though and runs perfect.

Matt
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#8
2023-06-25, 04:38 PM
I think you've got some formatting issues in there (trailing slashes on volumes, spacing around the starts of the lines). Try this:

Code:
version: '3.5'
services:
  nextpvr:
    image: nextpvr/nextpvr_amd64:stable
    container_name: nextpvr
    network_mode: 'host'
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Europe/london
    ports:
      - 8866:8866
      - 16891:16891/udp
    volumes:
      - /docker_appdata/nextpvr:/config
      - /srv/dev-disk-by-uuid-00acb9b6-1784-4542-b3bf-3af51bf25178/nextpvr_recordings:/recordings
      - /srv/dev-disk-by-uuid-00acb9b6-1784-4542-b3bf-3af51bf25178/nextpvr_buffer:/buffer
    restart: 'unless-stopped'
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#9
2023-06-25, 04:48 PM
FYI, I've just checked that by saving to a docker-compose.yml file, with minor changes to the paths for my machine, and running "docker-compose up". It started successfully.
matt77303
Offline

Junior Member

United Kingdom
Posts: 16
Threads: 5
Joined: Apr 2021
#10
2023-06-25, 08:15 PM
Brilliant, that works perfect.

Thank you

Matt
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comskip segfaults with comskip embedded in amd64 docker SickBoy 6 321 2025-02-24, 11:18 PM
Last Post: SickBoy
  Issues with Session Handling Behind Caddy Reverse Proxy in Docker: invalid session user001 5 363 2025-01-10, 08:23 PM
Last Post: sub
  Docker container becomes unresponsive overnight wapkaplet 6 559 2025-01-10, 04:47 PM
Last Post: wapkaplet
  Docker image upgrade ceejayemm 9 800 2025-01-07, 11:27 PM
Last Post: pkscout
  Current guide for NextPVR docker on Unraid? wapkaplet 1 664 2024-12-20, 02:40 AM
Last Post: wapkaplet
  NextPVR with Docker and Fritzbox icompas 9 567 2024-12-12, 02:50 PM
Last Post: icompas
  Docker postprocessing script aTF6i 12 950 2024-11-17, 01:17 AM
Last Post: aTF6i
  XMLTV folder for Docker stevil 1 375 2024-09-25, 06:56 PM
Last Post: mvallevand
  Add Intel iHD Driver to Docker Image for NextPVR thelanofvilles 8 1,248 2024-06-16, 08:10 PM
Last Post: thelanofvilles
  NPVR Synology Docker with Octopus SAT/IP finds no channels Thoschi 92 15,310 2024-01-19, 08:07 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode