Reloading config from another service in docker-compose stack

I’m trying to figure out how i can signal the haproxy-ubuntu service to reload configuration from another service in my docker-compose stack.

I see a general solution being to mount the docker.sock and sending a docker SIGHUP signal to a specific image name. But depending on where i run my docker-compose, the service image names will be different.

Another option would be to have the ability to signal a config reload through the dataplane api, which currently seems to only be an option when doing an updating call?

You could probably share a master CLI in a mounted volume between the 2 containers and send a “reload” to this socket.