Music Assistant with HA in docker - network issues

Has anyone successfully got Music Assistant to work with HA running in a docker container?
I see there are issues with the container IP address being used instead of the host IP that is set under – Settings, Network - Local Network. In my install, trying to play a song via Volumio shows that Music Assistant is sending a request, but then fails with an error on Volumio showing the CURL request to the docker container IP

Capture

Is there a way to direct it to the correct IP or is it time I bite the bullet and change to HAOS.

I was wondering…
Have you found a solution for this problem?

Greetings justin

No, I had no luck Justin.
Tried everything but it still gets the IP for the container instead of the host.
Ended up biting the bullet and installing HA operating system

Thnx for the answere

Still has this problem. Maybe they should not suggest docker container install?

Edit: There is an explanation in the FAQ how to fix this: https://github.com/orgs/music-assistant/discussions/709 Essentially, means going to Settings ->Core->Stream Server->Advanced and fixing the IP. May need a restart. Certainly needs patience.

I know I’m painfully late to this conversation, but just wanted to say that now MA has no issues running in a Docker container even though my home network is very non-standard. My Docker server runs on my main network, and all my smart home stuff, including my RPi DAC streamer device running PiCorePlayer, is on another VLAN that has no visibility to the main network. Using host for the MA container was not an option for me. Below is my compose configuration. My br0.30 network is configured as a macvlan, and doing some research on these networks, it treats the Docker container as a full fledged machine and the typical port configuration for Docker containers is not needed, and is in fact ignored when using a macvlan network. I honestly expected this to be an uphill battle getting my non-standard configuration working, but it actually worked on the first try, and I think it’s because of the macvlan network.

services:
  music-assistant-server:
    image: ghcr.io/music-assistant/server:latest
    container_name: media-music_assistant_server
    restart: unless-stopped
    volumes:
      - ${DOCKER_STASH}/music-assistant-server/data:/data/
    # privileged caps (and security-opt) needed to mount smb folders within the container
    cap_add:
      - SYS_ADMIN
      - DAC_READ_SEARCH
    security_opt:
      - apparmor:unconfined
    environment:
      # Provide logging level as environment variable.
      # default=info, possible=(critical, error, warning, info, debug)
      LOG_LEVEL: info
      TZ: ${TZ}
    networks:
      br0.30:
        ipv4_address: ${HAMA_IP}

networks:
  br0.30:
    external: true