d24f648db8
This reverts commit4a762a6a8a
. A partial revert of13cfceaea4
is also performed to swap out zookeeper-statsd without affecting other images. We perform this revert because Docker cannot do speculative gating of images hosted anywhere but on docker.io. Speculative testing of container images is an important feature that we wish to keep so revert until we can stop relying on Docker. Change-Id: I7ceafdb7cf1dfd4812ea8f12f273f01045ca89a2
25 lines
659 B
YAML
25 lines
659 B
YAML
# Version 2 is the latest that is supported by docker-compose in
|
|
# Ubuntu Xenial.
|
|
version: '2'
|
|
|
|
services:
|
|
zk:
|
|
image: docker.io/library/zookeeper:3.7
|
|
restart: always
|
|
network_mode: host
|
|
user: "10001:10001"
|
|
volumes:
|
|
- "/var/zookeeper/conf/zoo.cfg:/conf/zoo.cfg"
|
|
- "/var/zookeeper/data:/data"
|
|
- "/var/zookeeper/datalog:/datalog"
|
|
- "/var/zookeeper/logs:/logs"
|
|
- "/var/zookeeper/tls:/tls"
|
|
zookeeper-statsd:
|
|
restart: always
|
|
image: docker.io/opendevorg/zookeeper-statsd:latest
|
|
network_mode: host
|
|
user: "10001:10001"
|
|
environment:
|
|
STATSD_HOST: graphite.opendev.org
|
|
STATSD_PORT: 8125
|