5de73f6c36
To make it clear that docker hub is but one of many possible registries, update our usage of FROM and image: lines to include docker.io in the path. There are a few other FROM lines for the gitea images which are handled in a separate stack. Change-Id: I6fafd5f659ad19de6951574afc9a6b6a4cf184df
23 lines
584 B
YAML
23 lines
584 B
YAML
# Version 2 is the latest that is supported by docker-compose in
|
|
# Ubuntu Xenial.
|
|
version: '2'
|
|
|
|
services:
|
|
haproxy:
|
|
restart: always
|
|
image: docker.io/library/haproxy:latest
|
|
network_mode: host
|
|
volumes:
|
|
- /dev/log:/dev/log
|
|
- /var/haproxy/etc:/usr/local/etc/haproxy
|
|
- /var/haproxy/run:/var/haproxy/run
|
|
haproxy-statsd:
|
|
restart: always
|
|
image: docker.io/opendevorg/haproxy-statsd:latest
|
|
network_mode: host
|
|
volumes:
|
|
- /var/haproxy/run:/var/haproxy/run
|
|
environment:
|
|
STATSD_HOST: graphite.opendev.org
|
|
STATSD_PORT: 8125
|