INTERACT FORUM
More => Old Versions => JRiver Media Center 27 for Linux => Topic started by: Irtelli on April 14, 2021, 08:48:43 am
-
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! :-)
-
There is a Docker thread here:
https://yabb.jriver.com/interact/index.php/topic,126822.0.html
-
I've now repeated my post in that thread; let's see if it doesn't get lost...
-
I am using this docker-compose.yml
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.
-
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. :)
-
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/ (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. :-)
-
idiots rulez the world :P
-
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/ (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.
-
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.