Преглед изворни кода

Merge pull request #8410 from zmstone/0704-add-haproxy-to-cluster-example-secript

0704 add haproxy to cluster example script
Zaiming (Stone) Shi пре 3 година
родитељ
комит
387a1d822a

+ 0 - 12
.ci/docker-compose-file/haproxy/haproxy.cfg

@@ -30,24 +30,12 @@ defaults
 ##----------------------------------------------------------------
 ## API
 ##----------------------------------------------------------------
-frontend emqx_mgmt
-   mode tcp
-   option tcplog
-   bind *:18083
-   default_backend emqx_mgmt_back
-
 frontend emqx_dashboard
    mode tcp
    option tcplog
    bind *:18083
    default_backend emqx_dashboard_back
 
-backend emqx_mgmt_back
-    mode http
-    # balance static-rr
-    server emqx-1 node1.emqx.io:18083
-    server emqx-2 node2.emqx.io:18083
-
 backend emqx_dashboard_back
     mode http
     # balance static-rr

+ 1 - 1
scripts/relup-test/start-relup-test-cluster.sh

@@ -91,7 +91,7 @@ wait_for_webhook() {
     while ! curl -f -s localhost:7077; do
         wait_sec=$(( wait_sec + 1 ))
         if [ $wait_sec -gt "$wait_limit" ]; then
-            echo "timeout wait for EMQX"
+            echo "timeout wait for webhook"
             exit 1
         fi
         echo -n '.'

Разлика између датотеке није приказан због своје велике величине
+ 134 - 10
scripts/start-two-nodes-in-docker.sh