Loading Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -193,7 +193,7 @@ RUN rm -fr ${TEMP_PATH} && \ USER geoserver EXPOSE ${GEOSERVER_PORT} ${HAZELCAST_PORT} EXPOSE ${GEOSERVER_PORT} ${HAZELCAST_PORT} 5802-5902 ENTRYPOINT ["/docker-entrypoint.sh"] Loading scripts/docker-entrypoint.sh +2 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,8 @@ do done export CLUSTER_NODES_IPS_TAGS="${clusterNodesIps}" export HAZELCAST_OUTBOUND_PORTS_RANGE=$((${HAZELCAST_PORT} + 101))-$((${HAZELCAST_PORT} + 201)) mkdir -p ${GEOSERVER_DATA_DIR}/cluster clusterTemplateName="cluster" Loading scripts/hazelcast.template +9 −3 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <hazelcast xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.hazelcast.com/schema/config http://www.hazelcast.com/schema/config/hazelcast-config-3.3.xsd" xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.3.xsd" xmlns="http://www.hazelcast.com/schema/config"> <group> Loading @@ -13,11 +13,17 @@ </properties> <network> <port auto-increment="false">${HAZELCAST_PORT}</port> <port auto-increment="false" port-count="100">${HAZELCAST_PORT}</port> <outbound-ports> <ports>${HAZELCAST_OUTBOUND_PORTS_RANGE}</ports> </outbound-ports> <join> <multicast enabled="false"></multicast> <tcp-ip enabled="true" connection-timeout-seconds="30"> <members>${CLUSTER_NODES_IPS_TAGS}</members> <members> <member>127.0.0.1</member> ${CLUSTER_NODES_IPS_TAGS} </members> </tcp-ip> </join> <interfaces enabled="true"> Loading Loading
Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -193,7 +193,7 @@ RUN rm -fr ${TEMP_PATH} && \ USER geoserver EXPOSE ${GEOSERVER_PORT} ${HAZELCAST_PORT} EXPOSE ${GEOSERVER_PORT} ${HAZELCAST_PORT} 5802-5902 ENTRYPOINT ["/docker-entrypoint.sh"] Loading
scripts/docker-entrypoint.sh +2 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,8 @@ do done export CLUSTER_NODES_IPS_TAGS="${clusterNodesIps}" export HAZELCAST_OUTBOUND_PORTS_RANGE=$((${HAZELCAST_PORT} + 101))-$((${HAZELCAST_PORT} + 201)) mkdir -p ${GEOSERVER_DATA_DIR}/cluster clusterTemplateName="cluster" Loading
scripts/hazelcast.template +9 −3 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <hazelcast xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.hazelcast.com/schema/config http://www.hazelcast.com/schema/config/hazelcast-config-3.3.xsd" xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.3.xsd" xmlns="http://www.hazelcast.com/schema/config"> <group> Loading @@ -13,11 +13,17 @@ </properties> <network> <port auto-increment="false">${HAZELCAST_PORT}</port> <port auto-increment="false" port-count="100">${HAZELCAST_PORT}</port> <outbound-ports> <ports>${HAZELCAST_OUTBOUND_PORTS_RANGE}</ports> </outbound-ports> <join> <multicast enabled="false"></multicast> <tcp-ip enabled="true" connection-timeout-seconds="30"> <members>${CLUSTER_NODES_IPS_TAGS}</members> <members> <member>127.0.0.1</member> ${CLUSTER_NODES_IPS_TAGS} </members> </tcp-ip> </join> <interfaces enabled="true"> Loading