Sign inSign up

m4ce/docker-exhibitor

By m4ce

•Updated over 10 years ago

Docker image for Exhibitor and ZooKeeper

Image
0

2.6K

m4ce/docker-exhibitor repository overview

⁠Docker image for Exhibitor + Zookeeper

This docker image allows to run a single instance of Exhibitor (1.5.5) + Zookeeper (3.4.6) with support for the following config backends:

  • file (e.g. NFS)
  • AWS s3
  • ZooKeeper

See the usage section for more details.

⁠Usage

Generic configuration can be driven by exporting the following enviroment variables:

Environment variableDescription
ZOOKEEPER_DATA_DIRThe local path to store ZooKeeper data (default: /var/lib/zookeeper/snapshots)
ZOOKEEPER_LOG_DIRThe local path to store indexed ZooKeeper transaction logs (default: /var/lib/zookeeper/transactions)
ZOOKEEPER_CLUSTER_SIZEIf non-zero, automatic instance management will attempt to keep the ensemble at this fixed size. (default: 0)
EXHIBITOR_UI_PORTPort for the HTTP Server (default: 8081)
EXHIBITOR_HOSTNAMEHostname to use for this JVM (default: hostname)

If you wish to use a filesystem to store Exhibitor properties:

Environment variableDescription
EXHIBITOR_FSCONFIGDIRDirectory to store Exhibitor properties. Exhibitor uses file system locks so you can specify a shared location so as to enable complete ensemble management.

This is if you wish to use AWS S3 backend:

Environment variableDescription
AWS_ACCESS_KEY_IDAWS access key id
AWS_SECRET_ACCESS_KEYAWS access secret key
AWS_S3_BUCKETThe bucket name and key to store the config
AWS_S3_PREFIXWhen using AWS S3 shared config files, the prefix to use for values such as locks
AWS_S3_BACKUPIf true, enables AWS S3 backup of ZooKeeper log files (default: false)
AWS_REGIONRegion for S3 calls

If you wish to use ZooKeeper:

Environment variableDescription
ZK_CONFIG_CONNECTThe initial connection string for ZooKeeper shared config storage
ZK_CONFIG_ZPATHThe base ZPath that Exhibitor should use

⁠Contact

Matteo Cerutti - [email protected]⁠

Tag summary

Content type

Image

Digest

sha256:29a2a91ef…

Size

386.5 MB

Last updated

over 10 years ago

docker pull m4ce/docker-exhibitor