system-config/playbooks/roles/zookeeper/files/zookeeper-compose/docker-compose.yaml
Clark Boylan d24f648db8 Revert "Migrate statsd sidecar container images to quay.io"
This reverts commit 4a762a6a8a.
A partial revert of 13cfceaea4 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
2023-05-24 11:39:46 -07:00

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