
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 UGREEN 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 UGREEN NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.
STEP 3
Go toĀ FilesĀ 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 have previously 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Ā HomeĀ thenĀ Live connect. Follow the instructions in the image below.

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
ports:
- 9002:9002/tcp
- 9090:9090/tcp
- 3483:3483/tcp
- 3483:3483/udp
environment:
HTTP_PORT: 9002
PUID: 999
PGID: 10
TZ: Europe/Bucharest
EXTRA_ARGS: "--advertiseaddr=192.168.1.18" # Your Own UGREEN 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 UGREEN 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://ugreen-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 your own Album/Music. ā ļøNote: You will see this area only if you have added Music/Music folders at STEP 5. Follow the instructions in the image below.

STEP 16
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 17
In the URL field, type in your local UGREEN 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 UGREEN NAS IP. You should use your own local NAS IP.
http://192.168.1.18:9002/stream.mp3
STEP 18
Click the Play icon on your WinAmp client, then select a song on your Lyrion page, then click Play now. Follow the instructions in the image below.

STEP 19
At the top left of the page, click on the 3 horizontal lines. Follow the instructions in the image below.

STEP 20
Click Server. Follow the instructions in the image below.

STEP 21
Every time you upload music/folders in your music folder at STEP 5, click Rescan to update your music Album/Music on the Lyrion page. Follow the instructions in the image below.

STEP 22
Thanks to Lyrion Music Server, you can also stream Radio on air. Click Radio. Follow the instructions in the image below.

Enjoy Lyrion Music Server!
Note: If you want to run the Lyrion Music Server container over HTTPS, check out How to Run Docker Containers Over HTTPS on Your UGREEN NAS. ā ļø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 UGREEN NAS IP. It’s also mandatory to change the address at STEP 17 from http://yournasIP:9002/stream.mp3 to https://lyrion.ddns.net/stream.mp3
šNote/Update/Container: How to Update Your Docker Containers on UGREEN NAS Using Portainer.
š³Note: How to Create Docker Shortcuts on Desktop.
šNote: How to Update Portainer to the latest version.
This post was updated on Monday / November 17th, 2025 at 11:33 PM