* Upgrade zookeeper to version 3.4.8 * Updated traefik version to v1.0.0. Added new features: ssl, multidomain, import key/cert from metadata, run as traefik user. * Upgrade kafka to version 0.10.0 * Updated traefik version to v1.0.1. ssl key and crt set as required. * Updated traefik version to v1.0.1. ssl working modes available.
41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
zk:
|
|
tty: true
|
|
image: rawmind/alpine-zk:3.4.8-4
|
|
volumes_from:
|
|
- zk-volume
|
|
- zk-conf
|
|
environment:
|
|
- JVMFLAGS=-Xmx${zk_mem}m -Xms${zk_mem}m
|
|
- ZK_DATA_DIR=${zk_data_dir}
|
|
- ZK_INIT_LIMIT=${zk_init_limit}
|
|
- ZK_MAX_CLIENT_CXNS=${zk_max_client_cxns}
|
|
- ZK_SYNC_LIMIT=${zk_sync_limit}
|
|
- ZK_TICK_TIME=${zk_tick_time}
|
|
labels:
|
|
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
|
io.rancher.container.hostname_override: container_name
|
|
io.rancher.sidekicks: zk-volume, zk-conf
|
|
zk-conf:
|
|
net: none
|
|
labels:
|
|
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
|
io.rancher.container.hostname_override: container_name
|
|
io.rancher.container.start_once: true
|
|
image: rawmind/rancher-zk:0.3.3
|
|
zk-volume:
|
|
net: none
|
|
labels:
|
|
io.rancher.scheduler.affinity:container_label_soft_ne: io.rancher.stack_service.name=$${stack_name}/$${service_name}
|
|
io.rancher.container.hostname_override: container_name
|
|
io.rancher.container.start_once: true
|
|
environment:
|
|
- SERVICE_USER=zookeeper
|
|
- SERVICE_UID=10002
|
|
- SERVICE_GROUP=zookeeper
|
|
- SERVICE_GID=10002
|
|
- SERVICE_VOLUME=${zk_data_dir}
|
|
volumes:
|
|
- ${zk_data_dir}
|
|
volume_driver: local
|
|
image: rawmind/alpine-volume:0.0.1-1
|