huzhangzheng commented on issue #2896:
URL: 
https://github.com/apache/apisix-dashboard/issues/2896#issuecomment-2260076984

   i find the same error,i do sth,then solve the problem
   
   step one, run the container with --network
   `docker run -d --name dashboard --network docker-apisix_apisix  -p 9000:9000 
 -v 
/Users/husan/apisix/example/apisix_databoard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml
 apache/apisix-dashboard`
   
   step two, edit apisix_databoard_conf/conf.yaml. about "etcd endpoints"
   `  etcd:
       endpoints:            # supports defining multiple etcd host addresses 
for an etcd cluster
         - http://etcd:2379`
         
   setp three,   edit apisix_databoard_conf/conf.yaml again. about 
'allow_list', annotate it or allow you host ip
   `
   # allow_list:             # If we don't set any IP list, then any IP access 
is allowed by default.
     #  - 127.0.0.1           # The rules are checked in sequence until the 
first match is found.
      # - ::1                 # In this example, access is allowed only for 
IPv4 network 127.0.0.1, and for IPv6 network ::1.
                             # It also support CIDR like 192.168.1.0/24 and 
2001:0db8::/32
   `
   finally, you input http://127.0.0.1/9000 in your chrome,  admin:admin is the 
default password, enjoy it


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to