Beginner's Docker Guide on Open Media Vault
Note
In case you have any difficulties following this guide or have found some errors, please leave a note on the forums. Thanks!
If you have a Open Media Vault NAS which can run Docker containers aka. "Compose", you are in luck!
This guide uses our "official" Docker image. Source and the dockerfile of the image can be found here.
Assumptions
In this guide the following assumptions apply:
- Your music is stored in a folder in a storage pool,
/pool0/media
- Configuration will be stored in
/pool0/lyrion_config
- You run your LMS in "host" mode meaning that the 9000 port needs to be free on you NAS
Add an LMS application to Compose Files
- Open "Service / Composer / Files"
- Click "+" to create a new container
- Set an "Name", i.e. "lms". It must be between 1 and 32 characters.
- Paste the Docker Compose configuration, adapting it to your needs :
services: lms: container_name: lms image: lmscommunity/lyrionmusicserver volumes: - /pool0/lyrion_config:/config:rw - /pool0/media:/music:ro - /pool0/media:/playlist:rw - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro network_mode: host environment: - HTTP_PORT=9000 restart: always
- Click "Save" to save the container
- Once created you should see your application in the list
- Select the file from the list and
- Click the up button
Open LMS
- Launch your web browser and type:
http://[ip address you noted previously]:9000
. Then, press Enter. The Lyrion Music Server web interface will open. - Configure LMS as desired
Updating the Docker image
It is always advisable to regularly update your software, and with Docker on Synology it is made very easy.
- Open "Compose / Files" and select the "LMS" file
- Click the pull button