To run bruce as docker all you need to do is:
- Build the docker image using the dockerfile attached
- Run the docker with shared volume to other dockers
- Launch your Application's docker (the ones using Bruce) with shared volume to the socket file
docker build -t <host you docker repo>/bruce:latest .
docker run -d --name bruce -p 9090:9090 -v /root/ <host you docker repo>/bruce
sharing the /root volume will enable other dockers sending messages to bruce to use this shared volume for the socket file
docker run -d --name myapp --volumes-from bruce -e BRUCE_SOCKET=/root/bruce.socket <host you docker repo>/myapp:latest