buildbot/multimaster
2023-08-04 17:19:27 +00:00
..
db.env initial commit 2016-10-05 17:46:33 +02:00
docker-compose.yml customize 2023-08-04 17:19:27 +00:00
README.md initial commit 2016-10-05 17:46:33 +02:00

This docker-compose environment show how to setup a buildbot in multimaster mode with docker and ha-proxy

The network schema is as follow:

       [ web users]
            |  |
------------------------
[workers]   | /
     \|     |/
   [  HAPROXY  ]
     /     \
    /       \
[master1]..[masterN]
      |  \    / |
      |   \ /   |
      |   /\    |
[ postgre]  [crossbar]

The same haproxy serves as load balancing for both web and worker protocols

You can run this by using for example 4 masters

docker-compose up -d
docker-compose scale buildbot=4