Confirmed, port mappings are not required if you are using host network
mode. Here's my docker-compose.yml file for LMS and musicip...
Code:
--------------------
version: '3'
services:
lms:
container_name: lms
image: lmscommunity/logitechmediaserver:stable
network_mode: host
volumes:
- /docker/lms/volumes/state:/config:rw
- /sdb/shared/music:/music:ro
- /docker/lms/volumes/playlists:/playlist:ro
- /docker/lms/volumes/custom-convert.conf:/lms/custom-convert.conf
- /etc/localtime:/etc/localtime:ro
environment:
# use timezone of host
- PUID=1000
- GUID=1000
depends_on:
- musicip
musicip:
image: ptoulouse/musicip
container_name: musicip
network_mode: host
environment:
- PUID=1000
- PGID=1000
volumes:
- /sdb/shared/music:/music
- /docker/lms/volumes/musicip:/config
--------------------
------------------------------------------------------------------------
sparkyuk's Profile: http://forums.slimdevices.com/member.php?userid=70716
View this thread: http://forums.slimdevices.com/showthread.php?t=111828
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix