I was able to download and install the LMS container on to an
OpenMediaVault server using Portainer. There is information on how to do
it in docker from the cli, but every time I tried, I got an error. I
ended up creating a stack in portainer and deploying from there. Here
are a few things I found along the way.

1. I was using the lmscommunity/logitechmediaserver version. If you use
the docker pull command "docker pull lmscommunity/logitechmediaserver"
it will fail because docker seems to automatically add the flag :latest
if no flag exists, and there doesn't seem to be a "latest" version in
the repository. Add the flag :stable or the exact version you're looking
for and you're golden.

2. In portainer, I created a stack and used the following compose:
version: '2'
services:
lms:
container_name: lms
image: lmscommunity/logitechmediaserver:stable
volumes:
- /<somewhere>:/config:rw
- /<somewhere>:/music:ro
- /<somewhere>:/playlist:rw
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 9000:9000/tcp
- 9090:9090/tcp
- 3483:3483/tcp
- 3483:3483/udp
environment:
- PUID=1000
- PGID=1000
restart: always

(obiously you'll want to point the config, music and playlists to your
owm locations. For the config folder, I found that you just needed to
point it to a squeezebox/config folder.)

This worked perfectly. My only issue is the hostname. The LMS uses the
hostname of the container. This seems to be the MAC address. Is there a
way to change that?

Thanks. 

Tony


------------------------------------------------------------------------
amagalla's Profile: http://forums.slimdevices.com/member.php?userid=71316
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to