etcdkeeper icon indicating copy to clipboard operation
etcdkeeper copied to clipboard

打开页面报错

Open lyonnee opened this issue 3 years ago • 1 comments

通过docker-compose部署 etcdkeeper,进入页面就弹出报错 image

我不知道是不是我的 docker-compose.yaml 配置的有错误,还是我启动 etcd 镜像错了

这是docker-compose.yaml内容 `version: '3' networks: mall:

services: etcd1: image: quay.io/coreos/etcd:v3.2.5 container_name: etcd1 command: etcd -name etcd1 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new ports: - 2379:2379 - 2380:2380 networks: - mall

etcd2: image: quay.io/coreos/etcd:v3.2.5 container_name: etcd2 command: etcd -name etcd2 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new ports: - 2379 - 2380 networks: - mall

etcd3: image: quay.io/coreos/etcd:v3.2.5 container_name: etcd3 command: etcd -name etcd3 -advertise-client-urls http://0.0.0.0:2379 -listen-client-urls http://0.0.0.0:2379 -listen-peer-urls http://0.0.0.0:2380 -initial-cluster-token etcd-cluster -initial-cluster "etcd1=http://etcd1:2380,etcd2=http://etcd2:2380,etcd3=http://etcd3:2380" -initial-cluster-state new ports: - 2379 - 2380 networks: - mall

etcdkeeper: image: evildecay/etcdkeeper:latest container_name: "etcdkeeper" environment: HOST: "0.0.0.0" ports: - 8080 networks: - mall depends_on: - etcd1`

lyonnee avatar Feb 21 '22 10:02 lyonnee

这个看起来是配置etcd证书的问题,client需要通过tls配置去连接etcd

runzhliu avatar Jun 07 '22 02:06 runzhliu