Explorar o código

doc: update ui install compose to add default service

Signed-off-by: Jiyong Huang <huangjy@emqx.io>
Jiyong Huang %!s(int64=2) %!d(string=hai) anos
pai
achega
948e70b19b
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  1. 3 0
      docs/en_US/installation.md
  2. 3 0
      docs/zh_CN/installation.md

+ 3 - 0
docs/en_US/installation.md

@@ -36,6 +36,9 @@ Please make sure docker compose has installed before running.
       ports:
       - "9082:9082"
       restart: unless-stopped
+      environment: 
+        # setting default eKuiper service, works since 1.8.0
+        DEFAULT_EKUIPER_ENDPOINT: "http://ekuiper:9081"
    ekuiper:
       image: lfedge/ekuiper:x.x.x
       ports:

+ 3 - 0
docs/zh_CN/installation.md

@@ -36,6 +36,9 @@ eKuiper manager 是一个免费的 eKuiper 管理控制台,以 Docker 镜像
       ports:
       - "9082:9082"
       restart: unless-stopped
+      environment: 
+        # setting default eKuiper service, works since 1.8.0
+        DEFAULT_EKUIPER_ENDPOINT: "http://ekuiper:9081"
    ekuiper:
       image: lfedge/ekuiper:x.x.x
       ports: