These are the steps I used to get MakeMKV working from Docker on my Synology NAS (DS1520+).
In my setup, I have a shared folder for Media, for Downloads, and for Docker-related files. Amend these steps for your own purposes by using directories which exist on your NAS. My USB Blu-ray drive is a Pioneer BDR-XD05B.
- Enable SSH if needed.
- SSH to the Synology NAS.
- Connect USB CD-ROM drive to the physical NAS.
- Use
dmesg
to see which SCSI device was created.- In my case, it was
sg6
, so I knew that the device was created at/dev/sg6
. Adjust as needed for your own purposes.
- In my case, it was
- Create the needed directories:
mkdir -p /volume1/Docker/makemkv/config
- Copy
docker-compose.yml
from below to/volume1/Docker/makemkv
.- Adjust any directory names if needed.
- Adjust the name of the SCSI device if needed.
- Adjust the
MAKEMKV_KEY
environment variable value to contain your key. - Adjust any other environment variables needed. See documentation.
- Copy
99-usb-cdrom.rules
from below to/lib/udev/rules.d/
. (Requires root permissions withsudo
.)- At this time, you should also
chmod 0666 /dev/sg6
(or whichever device you have) so that you don't have to reboot to apply the necessary permissions. (Requires root permissions withsudo
.)
- At this time, you should also
- Change directory:
cd /volume1/Docker/makemkv
. - Create the container:
docker-compose up -d
. - Access MakeMKV on your Synology unit at http://<synology>:5800/.
- You can either open up port 5800 in the firewall settings in DSM, or you can set up a reverse proxy configuration to access it securely. Both methods are outside the scope of this procedure.
Hi
Please excuse a bunch of newbie questions but I've been chewing away at this one for a while. I have the container up and running and can access the gui but have failed to establish a connection between the container and the optical drive.
Editing udev rules is a new area of endeavour for me. I see the sample file you have provided and I have found my VID and PID numbers but I don't know where to incorporate them in that line of text. I'm guessing in between the quotes?
I'm also pretty unsure about how to create and insert the file in the specified directory (I'm pretty new to cmd line and I can't see how to access that directory via the DSM gui)
Any help greatly appreciated