INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Idiots guide to installing a docker image for JRiver on Synology NAS  (Read 6377 times)

Irtelli

  • Recent member
  • *
  • Posts: 17

Hi there,
Being a massive noob, I've been struggling to get JRiver (shiomax/jrivermc27/latest) running through a Docker container on my Synology 920+ NAS.
1. I've got the container up and running but how do I get the web GUI to show?
2. It says you should use docker-compose. How do I get this to run? And isn't the container already mostly configured with the correct settings?
I've been trwaling the forums here but feel that there's a lot of people that are an extra step ahead of any solution that would be useful at my stage of the learning curve.
Thanks in advance for your patience! :-)
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72444
  • Where did I put my teeth?
Logged

Irtelli

  • Recent member
  • *
  • Posts: 17
Re: Idiots guide to installing a docker image for JRiver on Synology NAS
« Reply #2 on: April 14, 2021, 09:39:57 am »

I've now repeated my post in that thread; let's see if it doesn't get lost...
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Idiots guide to installing a docker image for JRiver on Synology NAS
« Reply #3 on: April 14, 2021, 11:02:46 am »

I am using this docker-compose.yml
Code: [Select]
version: '3'
services:
  jrivermc27:
    image: shiomax/jrivermc27
    restart: always
    container_name: jrivermc27
    network_mode: host
    environment:
      - VNC_PASSWORD=<choose your own>
      - USER_ID-1026
      - GROUP_ID=101
      - DISPLAY_WIDTH=2560
      - DISPLAY_HEIGHT=1440
      - TZ=America/New_York
    volumes:
      - /volume1/docker/MC27/config:/config:rw
      - /volume1/music:/data/music:rw
      - /volume1/docker/MC27/data/Library:/data/Library:rw
It assumes the following:
1) You have a /volume1 on your NAS
2) You have a folder called "docker" on /volume1
3) You have a folder called "MC27" in /volume1/docker
4) You have a folder called "config" in /volume1/docker/MC27
5) Your media files are located in the folder called "music" on /volume1
6) You have a folder called "data" in /volume1/docker/MC27
7) You have a folder called "Library" in /volume1/docker/MC27/data

You need to replace the USER_ID and GROUP_ID with the values correct for your system. Ditto with the DISPLAY_WIDTH and DISPLAY_HEIGHT (mine are for a 27" iMac). Similarly, if you are not located on the East Coast of the US, replace the value with the correct one.
After you start the container, you can access the GUI on <NAS IP-address>:5800. If you have set up a DDNS hostname for your NAS you can also use <NAS-hostname.local>:5800 to get to the GUI.

I also recommend looking into Portainer. It's another Docker container that lets you easily control/maintain/back-up your docker containers. I use it mainly to update my containers when needed and it takes only a minute.
Hope this helps.
EDIT: I want to mention that without Max's help I would not have been able to do this, as I am pretty n00b myself.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

Irtelli

  • Recent member
  • *
  • Posts: 17
Re: Idiots guide to installing a docker image for JRiver on Synology NAS
« Reply #4 on: April 15, 2021, 05:26:21 am »

Thanks for taking the time to forward your own process, HaWi, it's really appreciated.
I managed to get the GUI running in a seperate broswer window and import my music via a Drive Client sync before you replied. However, JRemote sees the music but won't play it. Hopefully your method will be a vast improvement and will get everything working!
Now I'm going to take myself off and work out how to run docker-compose...
Thanks again.  :)
Logged

Irtelli

  • Recent member
  • *
  • Posts: 17
Re: Idiots guide to installing a docker image for JRiver on Synology NAS
« Reply #5 on: April 15, 2021, 08:26:49 am »

This idiot got it all working! A good guide for running docker-compose: https://www.reddit.com/r/synology/comments/h0ed3x/how_to_create_a_dockercompose_file_and_schedule/
Even JRemote's working properly and streaming well to my Majority Fitzwilliam 2. Nice. :-)
Logged

Wheaten

  • Guest
Re: Idiots guide to installing a docker image for JRiver on Synology NAS
« Reply #6 on: April 15, 2021, 09:10:18 am »

idiots rulez the world   :P
Logged

HaWi

  • Citizen of the Universe
  • *****
  • Posts: 947
Re: Idiots guide to installing a docker image for JRiver on Synology NAS
« Reply #7 on: April 15, 2021, 10:15:40 am »

This idiot got it all working! A good guide for running docker-compose: https://www.reddit.com/r/synology/comments/h0ed3x/how_to_create_a_dockercompose_file_and_schedule/
Even JRemote's working properly and streaming well to my Majority Fitzwilliam 2. Nice. :-)
I'm glad you got it to work. It also took me a long time to get everything working but the effort is worth it. I am still learning new things about MC every day here on the forum. I am very grateful to all the people who know so much more than I do and are wiling to help.
Logged
rPi5/8GB, Debian 12 Bookworm on SSD | JRMark (33.0.37 64 bit): 2784
MacBookPro (2013), 2.6 GHz Quad-Core Intel Core i7, MacOS 11.7.17 | JRMark (33.0.41 64 bit): 3826
Mac Studio M2 Max, 64GB, 1TB SSD, macOS Sequoia 15.1.1 | JRMark (33.0.41 64 bit): 9056
Docker Container (shiomax) DS1819+ | JRMark (33.0.37 64 bit): 1431
JRemote 3.43
MO 4Media 1.5.7 | Marantz SR7007 (RSL 5.1) HDMI to MacBookPro

gingram

  • Member
  • *
  • Posts: 2
Re: Idiots guide to installing a docker image for JRiver on Synology NAS
« Reply #8 on: December 08, 2021, 02:31:19 pm »

Just an update from my personal experience. I was trying to use the Docker container install tool and neglected to change the Userid and Groupid to what can access the NAS share where my media files were located. Once I had this set, then importing the library (with MC) using the same mount path i created when setting up the container works perfectly. Finally.
Logged
Pages: [1]   Go Up