4b031f9f24
This runs an haproxy which is strikingly similar to the one we currently run for git.openstack.org, but it is run in a docker container. Change-Id: I647ae8c02eb2cd4f3db2b203d61a181f7eb632d2
13 lines
289 B
YAML
13 lines
289 B
YAML
# Version 2 is the latest that is supported by docker-compose in
|
|
# Ubuntu Xenial.
|
|
version: '2'
|
|
|
|
services:
|
|
haproxy:
|
|
restart: always
|
|
image: haproxy:latest
|
|
network_mode: host
|
|
volumes:
|
|
- /var/haproxy/etc:/usr/local/etc/haproxy
|
|
- /var/haproxy/run:/var/haproxy/run
|