This is my docker-compose file. Setting container_name and hostname seem
to do the trick:
Code:
--------------------
version: "3.5"
volumes:
music:
driver: local
driver_opts:
type: nfs
o: addr=nas.gently.org.uk
device: ":/mnt/data/music"
services:
logitech-media-server:
container_name: lms
hostname: lms-docker
# image: doliana/logitech-media-server:latest-7.9.2
# image: doliana/logitech-media-server:latest-8.0
image: lmscommunity/logitechmediaserver:latest
restart: unless-stopped
ports:
- "9000:9000"
- "9090:9090"
- "3483:3483"
- "3483:3483/udp"
volumes:
# folder where lms stores its data (cache, logs, prefs)
- ./lms_storage:/config
# folder where lms should look for music
#- music:/music
- music:/var/spool/music
# use time of host
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
environment:
- PUID=1000
- PGID=1003
--------------------
------------------------------------------------------------------------
adhawkins's Profile: http://forums.slimdevices.com/member.php?userid=650
View this thread: http://forums.slimdevices.com/showthread.php?t=111828
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix