Skip to content

Commit 3508c32

Browse files
Merge pull request #106 from theking2/main
Main
2 parents 1d6f3a1 + 163274c commit 3508c32

File tree

2 files changed

+62
-1
lines changed

2 files changed

+62
-1
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
layout: default
3+
title: Beginner's Docker Guide on Open Media Vault
4+
---
5+
6+
# Beginner's Docker Guide on Open Media Vault
7+
8+
!!! note
9+
In case you have any difficulties following this guide or have found some errors, please leave a note on the [forums](https://forums.lyrion.org/forum/developer-forums/developers/1668265-documentation-update-call-for-volunteers). Thanks!
10+
11+
If you have a Open Media Vault NAS which can run Docker containers aka. "Compose", you are in luck!
12+
13+
This guide uses our ["official" Docker image](https://hub.docker.com/r/lmscommunity/lyrionmusicserver/). Source and the dockerfile of the image can be found [here](https://github.com/LMS-Community/slimserver-platforms/tree/HEAD/Docker).
14+
15+
## Assumptions
16+
17+
In this guide the following assumptions apply:
18+
19+
- Your music is stored in a folder in a storage pool, `/pool0/media`
20+
- Configuration will be stored in `/pool0/lyrion_config`
21+
- You run your LMS in "host" mode meaning that the 9000 port needs to be free on you NAS
22+
23+
## Add an LMS application to Compose Files
24+
25+
1. Open "Service / Composer / Files"
26+
2. Click "+" to create a new container
27+
3. Set an "Name", i.e. "lms". It must be between 1 and 32 characters.
28+
4. Paste the Docker Compose configuration, adapting it to your needs :
29+
``` yaml
30+
services:
31+
lms:
32+
container_name: lms
33+
image: lmscommunity/lyrionmusicserver
34+
volumes:
35+
- /pool0/lyrion_config:/config:rw
36+
- /pool0/media:/music:ro
37+
- /pool0/media:/playlist:rw
38+
- /etc/localtime:/etc/localtime:ro
39+
- /etc/timezone:/etc/timezone:ro
40+
network_mode: host
41+
environment:
42+
- HTTP_PORT=9000
43+
restart: always
44+
```
45+
5. Click "Save" to save the container
46+
6. Once created you should see your application in the list
47+
7. Select the file from the list and
48+
8. Click the up button
49+
50+
51+
## Open LMS
52+
53+
1. Launch your web browser and type: `http://[ip address you noted previously]:9000`. Then, press Enter. The Lyrion Music Server web interface will open.
54+
2. Configure LMS as desired
55+
56+
## Updating the Docker image
57+
58+
It is always advisable to regularly update your software, and with Docker on Synology it is made very easy.
59+
60+
1. Open "Compose / Files" and select the "LMS" file
61+
2. Click the pull button

docs/getting-started/beginners-guide-qnap-docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ In this guide the following assumptions apply:
6868

6969
## Updating the Docker image
7070

71-
It is always advisable to regularly update your software, and with Docker on Synology it is made very easy.
71+
It is always advisable to regularly update your software, and with Container Station on QNAP it is made very easy.
7272

7373
1. Open "Container Station"
7474
2. Go to "Images" and click on the cog wheel "⚙️" next to "lmscommunity/lyrionmusicserver".

0 commit comments

Comments
 (0)