xshans edited a comment on issue #1811:
URL: 
https://github.com/apache/apisix-dashboard/issues/1811#issuecomment-879668328


   Request Error Code: 2000001
   The manager-api and apache apisix are mismatched.
   
   version: "3"
   
   services:
     apisix-dashboard:
       image: apache/apisix-dashboard:2.7
       privileged: true
       restart: always
       volumes:
       - ./dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml
       ports:
       - "9000:9000"
       networks:
         apisix:
   
     apisix:
       image: apache/apisix:2.7-alpine
       privileged: true
       restart: always
       volumes:
         - ./apisix_log:/usr/local/apisix/logs
         - ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
       depends_on:
         - etcd
       ##network_mode: host
       ports:
         - "9080:9080/tcp"
         - "9443:9443/tcp"
       networks:
         apisix:
   
     etcd:
       image: bitnami/etcd:3.4.14
       privileged: true
       user: root
       restart: always
       volumes:
         - ./etcd_data:/bitnami/etcd
       environment:
         ETCD_ENABLE_V2: "true"
         ALLOW_NONE_AUTHENTICATION: "yes"
         ETCD_ADVERTISE_CLIENT_URLS: "http://0.0.0.0:2379";
         ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379";
       ports:
         - "2379:2379/tcp"
       networks:
         apisix:
   
     web1:
       image: nginx:1.21.1-alpine
       privileged: true
       restart: always
       volumes:
         - ./upstream/web1.conf:/etc/nginx/nginx.conf
       ports:
         - "9081:80/tcp"
       environment:
         - NGINX_PORT=80
       networks:
         apisix:
   
     web2:
       image: nginx:1.21.1-alpine
       privileged: true
       restart: always
       volumes:
         - ./upstream/web2.conf:/etc/nginx/nginx.conf
       ports:
         - "9082:80/tcp"
       environment:
         - NGINX_PORT=80
       networks:
         apisix:
   
   networks:
     apisix:
       driver: bridge
   
   apache/apisix:2.6-alpine / apache/apisix:2.7-alpine also
   
   
![image](https://user-images.githubusercontent.com/52526052/125582337-6363f9f0-76bd-40f5-b813-ce8e3512b2d1.png)
   


-- 
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