I'm now using both LMS and Squeezelite in containers - compose files below. Running Ubuntu 20.04 on an Odroid N2 (arm64) with a USB attached Topping E30 DAC. I also have 'MusicIP ' (https://github.com/mwalters68/musicip-arm)in another container and I've attached that in case there's any interest. 'Watchtower ' (https://github.com/containrrr/watchtower)is used to keep the LMS container up to date.
LMS Code: -------------------- version: '3' services: lms: container_name: lms image: lmscommunity/logitechmediaserver:dev network_mode: host environment: - LMSOPTS="--nomysqueezebox" - TZ="Europe/London" - PUID=1100 - PGID=1100 volumes: - /storage/docker/lms/volumes/state:/config:rw - /storage/docker/lms/volumes/playlists:/playlist:rw - /storage/music:/music:ro - /storage/docker/lms/volumes/custom-convert.conf:/lms/custom-convert.conf - /etc/localtime:/etc/localtime:ro restart: always -------------------- Squeezelite Code: -------------------- version: '3.3' services: squeezelite: image: giof71/squeezelite:stable platform: armhf network_mode: host container_name: squeezelite devices: - /dev/snd:/dev/snd environment: - SQUEEZELITE_NAME=Odroid-E30 - SQUEEZELITE_AUDIO_DEVICE=hw:CARD=E30,DEV=0 - STARTUP_DELAY_SEC=10 restart: always -------------------- MusicIP Code: -------------------- version: '3.3' services: musicip: platform: armhf network_mode: host labels: - com.centurylinklabs.watchtower.enable=false volumes: - /storage/docker/musicip/volumes/config:/config - /storage/music:/music:ro container_name: musicip image: mwalters68/musicip-arm environment: - PUID=1200 - PGID=1200 restart: always -------------------- Watchtower Code: -------------------- version: '3.8' services: watchtower: image: containrrr/watchtower:latest container_name: watchtower network_mode: bridge hostname: watchtower environment: WATCHTOWER_SCHEDULE: 0 0 4 * * * WATCHTOWER_TRACE: 'true' WATCHTOWER_NO_STARTUP_MESSAGE: 'true' TZ: 'Europe/London' WATCHTOWER_MONITOR_ONLY: 'false' WATCHTOWER_NOTIFICATIONS: email WATCHTOWER_NOTIFICATION_EMAIL_FROM: *** WATCHTOWER_NOTIFICATION_EMAIL_TO: *** WATCHTOWER_NOTIFICATION_EMAIL_SERVER: smtp.gmail.com WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT: 587 WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER: *** WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD: *** WATCHTOWER_NOTIFICATION_EMAIL_DELAY: 2 WATCHTOWER_CLEANUP: 'true' volumes: - /var/run/docker.sock:/var/run/docker.sock restart: always -------------------- ------------------------------------------------------------------------ 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 unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix