tanshunyuan commented on issue #454: URL: https://github.com/apache/apisix-docker/issues/454#issuecomment-1506873190
> Though, might the issue come from the fact that I migrated from ~2.15 to 3.0? I'm not really sure too, I didn't copy directly from [example/docker-compose.yml](https://github.com/apache/apisix-docker/blob/master/example/docker-compose.yml) instead I used [compose/docker-compose-master.yml](https://github.com/apache/apisix-docker/blob/master/compose/docker-compose-master.yaml) and retro-fitted the dashboard in as you see in my configuration below. For at the very least, using `ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379"` helped resolve the connection error ``` apisix: image: 'apache/apisix:3.2.0-debian' container_name: apisix restart: always volumes: - ./gateway-config/example/apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro depends_on: - etcd ports: - '9180:9180/tcp' - '9080:9080/tcp' - '9091:9091/tcp' - '9443:9443/tcp' networks: - apisix dashboard: image: 'apache/apisix-dashboard:3.0.1-alpine' container_name: dashboard restart: always volumes: - ./gateway-config/example/dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml:ro depends_on: - etcd ports: - '9000:9000/tcp' networks: - apisix etcd: image: bitnami/etcd:3.4.15 container_name: etcd restart: always volumes: - etcd_data:/bitnami/etcd environment: ETCD_ENABLE_V2: 'true' ALLOW_NONE_AUTHENTICATION: 'yes' ETCD_ADVERTISE_CLIENT_URLS: 'http://etcd:2379' ETCD_LISTEN_CLIENT_URLS: 'http://0.0.0.0:2379' ports: - '2379:2379/tcp' networks: - apisix volumes: etcd_data: driver: local networks: apisix: driver: bridge ``` -- 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]
