Skip to content

fsamir/hazelcast-bucket4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Hazelcast for Bucket 4J Quick Start

Hazelcast Docker image with JCache and Bucket4J jars in the classpath, for people willing to quickly use Bucket4J with a remote Hazlecast Server.

It is the same as the original Hazelcast docker image with the addition of:

  1. hazelcast.xml with the ability to expose the TCP port to the external world based on this Stackoverflow post
  2. JCache and Bucket4J jars added to the classpath to make it easy to use with Bucket4J. More details in this Github issue

Docker image available at: https://hub.docker.com/r/fsamir/hazelcast-bucket4j/

Running

docker run --name my-hazelcast -d -e JAVA_OPTS="-Dhazelcast.config=/opt/hazelcast/hazelcast.xml -Dhazelcast.ip=`ip route get 8.8.8.8 | awk '{print $NF; exit}'` -Dhazelcast.port=5701" -ti fsamir/hazelcast-bucket4j:3.9.2

Building

 docker build  -t fsamir/hazelcast-bucket4j:3.9.2 .

About

Hazelcat Docker image for Bucket4J

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published