Skip to content

Commit fa99178

Browse files
committed
latest
1 parent 11c6e7c commit fa99178

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ The following parameters can be passed with the `-D` option when invoking the te
297297

298298
### <a id="docker"></a>Containerization (Docker) notes
299299

300+
This library may also be helpful to you: [docker-discovery-registrator-consul](https://github.com/bitsofinfo/docker-discovery-registrator-consul)
301+
300302
One of the main drivers for coding this module was for Hazelcast applications that were deployed as Docker containers
301303
that would need to automatically register themselves with Consul for higher level cluster orchestration of the cluster.
302304

@@ -311,6 +313,8 @@ Specifically when using this discovery strategy and Docker, it may be useful for
311313
Start your hazelcast app such as with the below, this would assume that hazelcast is actually reachable via this configuration
312314
via your Docker host and the port mappings that were specified on `docker run`. (i.e. the IP below would be your docker host/port that is mapped to the actual hazelcast app container and port it exposes for hazelcast).
313315

316+
This library may also be helpful to you: [docker-discovery-registrator-consul](https://github.com/bitsofinfo/docker-discovery-registrator-consul)
317+
314318
See this [Docker issue for related info](https://github.com/docker/docker/issues/3778) on detecting mapped ports/ip from **within** a container
315319

316320
`java -jar myHzApp.jar -DregisterWithIpAddress=<dockerHostIp> -DregisterWithPort=<mappedContainerPortOnDockerHost> .... `

0 commit comments

Comments
 (0)