
This creates TLS certs for Zookeeper, uses them inside the ZK quorum, and configures Nodepool and Zuul to use them as well. A full system restart of all ZK-related components will be required after merging this patch. Change-Id: I0cb96a989f3d2c7e0563ce8899f2a5945ea225b3
16 lines
415 B
YAML
16 lines
415 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.5
|
|
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"
|