More > JRiver Media Center 27 for Linux
Idiots guide to installing a docker image for JRiver on Synology NAS
Irtelli:
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! :-)
JimH:
There is a Docker thread here:
https://yabb.jriver.com/interact/index.php/topic,126822.0.html
Irtelli:
I've now repeated my post in that thread; let's see if it doesn't get lost...
HaWi:
I am using this docker-compose.yml
--- Code: ---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
--- End code ---
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.
Irtelli:
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. :)
Navigation
[0] Message Index
[#] Next page
Go to full version