stroom wrote: 
> Is it possible running LMS in docker next to running it natively?
> I am running LMS from raspberry pi, and when setting up LMS within
> docker, I had port conflicts with the running native LMS.
> I tried changing ports, but since I do not understand exactly what I am
> doing, it didn't work out so far.
> (This is just for testing purposes to later decide if I want to change
> to running LMS in docker.)
> I use docker-compose, and the part on ports is just copied from
> hub.docker.com lmscommunity page:
> ports:
> - 9000:9000/tcp
> - 9090:9090/tcp
> - 3483:3483/tcp
> - 3483:3483/udp
> 
> Running the docker image with settings as above works if I stop the
> native LMS before starting the docker LMS.

Hello, I have run several next to each other. It is essential to NOT run
the container then in "host" mode but in bridge mode (this opens above
ports in firewall: the port "outside"(ie host side) forwards to "inside"
(ie in your container. The outside 9000 port is your default http server
port (can be set in your lms settings). you either set your "outside
port to something else that is NOT already used on your host (ie 9001)
or both: lms setting to 9001 and then 9001:9001, etc...
Your client will find multiple LMS servers, so squeezelite needs to be
configuredto an address, or you need to switch servers in your
interface.

Hope this helps.


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

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to