Clark Boylan 2a8124fbbe Upgrade zookeeper from 3.6 to 3.7
We keep the parent change separate for two reasons. It serves as a
record that we did step through 3.6 on our path to 3.7 and this allows
us to test 3.7 without impacting the 3.6 upgrade if our testing shows
problems with 3.7. Note, we'll keep the zk04-zk06 servers in the
emergency file until we're satisfied with an end result just to avoid
any unexpected (down|up)grades.

Change-Id: Ief008808d1296ae673059f1c40961a63a86f768d
2022-11-02 09:55:12 -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