Skip to content

Commit 163274c

Browse files
committed
add OMV beginners
1 parent 2410f33 commit 163274c

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
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

0 commit comments

Comments
 (0)