Lyrion Music Server (formerly Logitech Media Server) is an open-source server software which controls a wide range of Squeezebox audio players. Lyrion can stream your local music collection, internet radio stations, and content from many streaming services (with and without subscriptions). In this step by step guide I will show you how to install Lyrion Music Server on your Synology NAS using Docker & Portainer.
STEP 1
Please Support My work by Making a Donation.
STEP 2
InstallĀ Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.
STEP 3
Go toĀ File Station and open the docker folder. Inside the docker folder, create one new folder and name it lyrion. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 4
Now create two new folders inside the lyrionĀ folder that you created at STEP 3 and name them music and playlist. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 5
Populate your music folder with your own music. Follow the instructions in the image below.
STEP 6
Log into Portainer using your username and password. On the left sidebar in Portainer, click on StacksĀ thenĀ + Add stack. Follow the instructions in the image below.
STEP 7
In the Name field type in lyrion. Follow the instructions in the image below.
services: lyrion: container_name: Lyrion-Music-Server image: lmscommunity/lyrionmusicserver:stable healthcheck: test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/9002' || exit 1 interval: 10s timeout: 5s retries: 3 start_period: 90s volumes: - /volume1/docker/lyrion:/config:rw - /volume1/docker/lyrion/music:/music:ro - /volume1/docker/lyrion/playlist:/playlist:rw - /etc/localtime:/etc/localtime:ro - /etc/TZ:/etc/timezone:ro ports: - 9002:9002/tcp - 9090:9090/tcp - 3483:3483/tcp - 3483:3483/udp environment: HTTP_PORT: 9002 PUID: 1026 PGID: 100 TZ: Europe/Bucharest EXTRA_ARGS: "--advertiseaddr=192.168.1.18" # Your Own Synology Local NAS IP restart: on-failure:5
Note: Before you paste the code above in the Web editor area below, change the value numbers for PUIDĀ andĀ PGIDĀ with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Web editor area below, change the value for TZ.Ā (Select your current Time Zone from this list.)
Note: Before you paste the code above in the Web editor area below, change the value for 192.168.1.18. Type in your own Synology Local NAS IP. 192.168.1.18 is my own Synology Local NAS IP.
STEP 8
Scroll down on the page until you see a button namedĀ Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.
STEP 9
If everything goes right, you will see the following message at the top right of your screen: āSuccess Stack successfully deployedā.
STEP 10
š¢Please Support My work by Making a Donation. Almost 99,9% of the people that install something using my guidesĀ forget to support my work, or justĀ ignoreĀ STEP 1. Iāve been very honest about this aspect of my work since the beginning: I donāt run any ADS, I donāt require subscriptions, paid or otherwise, I donāt collect IPs, emails, and I donāt have any referral links from Amazon or other merchants. I also donāt have any POP-UPs or COOKIES. I have repeatedly been told over the years how much I have contributed to the community. Itās something I love doing and have been honest about my passion since the beginning. But I also Need The Community to Support me Back to be able to continue doing this work.
STEP 11
The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type inĀ http://Synology-ip-address:9002 If everything goes right, you will see the Lyrion Music Server dashboard. Check the Material Skin, Music and Artist information, Radio Now Playing and Radio net Directory. Click Next. Follow the instructions in the image below.
STEP 12
Select the music folder, then click Next. Follow the instructions in the image below.
STEP 13
Select the playlist folder, then click Next. Follow the instructions in the image below.
STEP 14
Click Finish. Follow the instructions in the image below.
STEP 15
Click on the Music Folder. Follow the instructions in the image below.
STEP 16
Your music that you have previously added at STEP 5 should appear in this area.
STEP 17
Lyrion Music Server is a server and, to play music, you need a client that acts as a player. To explain how to set up a new player on your Lyrion Music Server, I will use Winamp as an external player that is installed on my Windows 11 PC. You can also use VLC or other players. Open Winamp, then right click on it. A new pop up window will open. Click Play, then URL. Follow the instructions in the image below.
STEP 18
In the URL field, type in your local NAS IP followed by :9002/stream.mp3 Then click Open. Follow the instructions in the image below. 192.168.1.18 is my own local NAS IP. You should use your own local NAS IP.
http://192.168.1.18:9002/stream.mp3
STEP 19
Open your Lyrion Music Server page. Choose Winamp as a player. Select your favorite songs, then click + to add them to the playlist. Start the playlist. Follow the instructions in the image below.
STEP 20
Click Play on your Winamp media player and your music will be on air. Follow the instructions in the image below.
STEP 21
Thanks to Lyrion Music Server, you can also stream Radio on air. Follow the instructions in the image below.
Enjoy Lyrion Music Server!
If you encounter issues by using this container, make sure to check out the Common Docker issuesĀ article.
Note: If you want to run the Lyrion Music Server container over HTTPS, check How to Run Docker Containers Over HTTPS. In order to make Lyrion Music Server work via HTTPS, it’s mandatory to activate WebSocket. Remember: if you want to use the player to play music, you need to port forward ports 3483 (TCP/UDP), 9090 (TCP), 9002 (TCP) in your router pointing to your local NAS IP. It’s also mandatory to change the address at STEP 14 from http://yournasIP:9002/stream.mp3 to https://lyrion.yourname.synology.me/stream.mp3
Note: Can I run Docker on my Synology NAS?Ā See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find outĀ how to update the Lyrion Music Server container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.
This post was updated on Monday / January 6th, 2025 at 1:13 AM