Open carlo161 opened 5 hours ago
With the following modifications in the compose file it seems to work:
network_mode: "host"
extra_hosts:
- "music-assistant:192.168.16.100"
But I still do not understand why it does not work with the previous configuration.
Hello, maybe music-assistant was not accessible without that extra_host. You might be able to verify that with the first config, by entering the container and executing a few commands:
docker exec -it audio-player bash
apt-get update
apt-get install -y iputils-ping
ping music-assistant
As long as you specify the SQUEEZELITE_SERVER_PORT, it should not be necessary to use host networking.
Have you tried to set SQUEEZELITE_SERVER_PORT=192.168.16.100 with bridge (non-host, so default mode) networking?
Describe the bug I am using the Docker container in combination with Music Assistant (ghcr.io/music-assistant/server:2.3.3), Squeezelite connect to Music Assistant (I can see it it the list of players) but as soon as I send it a track the log starts to show that messages: I cannot understand what I am doing wrong, does anyone sees it?
Expected behavior I expect that the track starts to be played on the audio card I chose.
Docker-compose.yaml file This is the compose file part:
Screenshots If applicable, add screenshots to help explain your problem.
Operating system(please complete the following information): Docker
Additional context This is the complete log: