This is an automated email from the ASF dual-hosted git repository.

zhangwenfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu-samples.git


The following commit(s) were added to refs/heads/main by this push:
     new a4771e5  fix nacos sample run failed, cause auth and port (#60)
a4771e5 is described below

commit a4771e5a14a9abe1d19a08105ae009d60f741bc0
Author: foghost <[email protected]>
AuthorDate: Mon Oct 28 18:59:54 2024 +0800

    fix nacos sample run failed, cause auth and port (#60)
---
 dubbogo/simple/nacos/docker/docker-compose.yml      | 4 ++--
 dubbogo/simple/nacos/pixiu/conf.yaml                | 2 --
 dubbogo/simple/nacos/server/profiles/dev/server.yml | 2 --
 3 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/dubbogo/simple/nacos/docker/docker-compose.yml 
b/dubbogo/simple/nacos/docker/docker-compose.yml
index cb4039c..95a5d2e 100644
--- a/dubbogo/simple/nacos/docker/docker-compose.yml
+++ b/dubbogo/simple/nacos/docker/docker-compose.yml
@@ -21,11 +21,11 @@ version: '3'
 
 services:
   nacos:
-    image: nacos/nacos-server:2.0.1
+    image: nacos/nacos-server:2.3.0
     container_name: nacos-standalone
     environment:
       - PREFER_HOST_MODE=hostname
       - MODE=standalone
-      - NACOS_AUTH_ENABLE=true
     ports:
       - "8848:8848"
+      - "9848:9848"
diff --git a/dubbogo/simple/nacos/pixiu/conf.yaml 
b/dubbogo/simple/nacos/pixiu/conf.yaml
index 2057484..c4bee8a 100644
--- a/dubbogo/simple/nacos/pixiu/conf.yaml
+++ b/dubbogo/simple/nacos/pixiu/conf.yaml
@@ -44,7 +44,5 @@ static_resources:
             protocol: nacos
             address: "127.0.0.1:8848"
             timeout: "5s"
-            username: nacos
-            password: nacos
             group: test-group
             namespace: test-namespace
\ No newline at end of file
diff --git a/dubbogo/simple/nacos/server/profiles/dev/server.yml 
b/dubbogo/simple/nacos/server/profiles/dev/server.yml
index ec4cc3a..4ed70fb 100644
--- a/dubbogo/simple/nacos/server/profiles/dev/server.yml
+++ b/dubbogo/simple/nacos/server/profiles/dev/server.yml
@@ -26,8 +26,6 @@ dubbo:
       protocol: nacos
       timeout: 3s
       address: 127.0.0.1:8848
-      username: nacos
-      password: nacos
       group: test-group
       namespace: test-namespace
       registry-type: all

Reply via email to