Mosquitto broker addon not listening on websocket ports

This was working previously, but now for some reason I can’t get mqtt websockets to work. This is included in the Mosquitto log:

2023-01-14 11:33:38: mosquitto version 2.0.11 starting
2023-01-14 11:33:38: Config loaded from /etc/mosquitto/mosquitto.conf.
2023-01-14 11:33:38: Loading plugin: /usr/share/mosquitto/go-auth.so
2023-01-14 11:33:38:  ├── Username/password checking enabled.
2023-01-14 11:33:38:  ├── TLS-PSK checking enabled.
2023-01-14 11:33:38:  └── Extended authentication not enabled.
2023-01-14 11:33:38: Opening ipv4 listen socket on port 1883.
2023-01-14 11:33:38: Opening ipv6 listen socket on port 1883.
2023-01-14 11:33:38: Warning: Address family not supported by protocol
2023-01-14 11:33:38: Opening websockets listen socket on port 1884.
2023-01-14 11:33:38: Opening ipv4 listen socket on port 8883.
2023-01-14 11:33:38: Opening ipv6 listen socket on port 8883.
2023-01-14 11:33:38: Warning: Address family not supported by protocol
2023-01-14 11:33:38: Opening websockets listen socket on port 8884.
2023-01-14 11:33:38: mosquitto version 2.0.11 running

Which looks good to me, except for the ipv6 warnings. But I can’t connect with any client I’ve tried. docker -ps shows:

ad75ef341f2e   homeassistant/aarch64-addon-mosquitto:6.1.3                     "/init"               41 minutes ago   Up 41 minutes   0.0.0.0:1883-1884->1883-1884/tcp, 0.0.0.0:8883-8884->8883-8884/tcp   addon_core_mosquitto

Which looks like it’s opened the websocket ports. However, I installed net-tools in the container, and netstat -lnp shows:

tcp        0      0 0.0.0.0:8883            0.0.0.0:*               LISTEN      152/mosquitto
tcp        0      0 127.0.0.1:80            0.0.0.0:*               LISTEN      153/nginx: master p
tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      152/mosquitto
tcp        0      0 127.0.0.11:37319        0.0.0.0:*               LISTEN      -
udp        0      0 127.0.0.11:50230        0.0.0.0:*                           -

Causing me to conclude it is not listening on the websocket ports.
I really need help on how to proceed with troubleshooting or what might be wrong in the configuration. Thank you!

I’ve found that adding this line underneath each listener in mosquitto.conf solves the problem:

socket_domain ipv4

So now the question is how can I do that in a persistent way? Any changes made to mosquitto.conf in the container don’t survive a restart of the add-on.