system-config/playbooks/roles/haproxy
Clark Boylan 8eb981b47f Install docker-compose from pypi
We want to use stop_grace_period to manage gerrit service stops. This
feature was added in docker-compose 1.10 but the distro provides 1.5.
Work around this by installing docker-compose from pypi.

This seems like a useful feature and we want to manage docker-compose
the same way globally so move docker-compose installation into the
install-docker role.

New docker-compose has slightly different output that we must check for
in the gitea start/stop machinery. We also need to check for different
container name formatting in our test cases. We should pause here and
consider if this has any upgrade implications for our existing services.

Change-Id: Ia8249a2b84a2ef167ee4ffd66d7a7e7cff8e21fb
2020-04-16 12:08:00 -07:00
..
files/docker Use explicit image paths 2019-12-17 08:13:34 -05:00
handlers Reload haproxy configuration when config changes 2019-07-23 16:48:23 +00:00
tasks Install docker-compose from pypi 2020-04-16 12:08:00 -07:00
templates Actually check backends are alive in haproxy 2019-07-23 08:13:12 -07:00
README.rst Run an haproxy load balancer for gitea 2019-02-22 12:54:04 -08:00

Install, configure, and run a haproxy server.