93f423b3be
Note that we'll probably end up manually performing this upgrade to ensure the leader is upgraded last as well as performing sanity checks along the way. Please don't merge this change until we are certain we are ready for it. In the meaintime it gives us early feedback for any unexpected problems with the new zookeeper version. Change-Id: I84c8f3d05edba03cd4ab526ab0105d7512e3984f
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.8
|
|
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
|