Skip to content
etcd v3 Web UI
JavaScript Go Other
Branch: master
Clone or download
Latest commit c85c4e7 Mar 4, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf add tls support client Oct 29, 2017
e3ch add tls support client Oct 29, 2017
images update README Nov 3, 2016
routers close client && upgrade etcd Dec 2, 2017
static encode parameter in path Dec 7, 2017
.dockerignore add Dockerfile Oct 24, 2017
.gitignore add dep Sep 10, 2017
Dockerfile add Dockerfile Oct 24, 2017
Gopkg.lock update e3ch Dec 7, 2017
Gopkg.toml update e3ch Dec 7, 2017
LICENSE Create LICENSE Mar 4, 2018
README.md update README Oct 25, 2017
docker-compose.yml fix etcd client addr Oct 25, 2017
main.go encode parameter in path Dec 7, 2017

README.md

e3w

etcd v3 Web UI based on Golang && React, copy from consul ui :)

supporting hierarchy on etcd v3, based on e3ch

Quick Start

git clone https://github.com/soyking/e3w.git
cd e3w
docker-compose up
# open http://localhost:8080

Or use docker image by docker pull soyking/e3w, more details in Dockerfile and docker-compose.yml

Overview

KEY/VALUE

MEMBERS

ROLES

USERS

SETTING

Usage

1.Fetch the project go get github.com/soyking/e3w

2.frontend

cd static
npm install
npm run publish

3.backend

a. Start etcd, such as goreman

b. Install packages by dep if needed, dep ensure

c. Edit conf/config.default.ini if needed, go build && ./e3w

d. For auth:

ETCDCTL_API=3 etcdctl auth enable
# edit conf/config.default.ini[app]#auth
./e3w
# you could set your username and password in SETTING page

4.build image

Install dependencies in 3.b, then run docker build -t soyking/e3w .

Notice

  • When you want to add some permissions in directories to a user, the implement of hierarchy in e3ch requires you to set a directory's READ permission. For example, if role roleA has the permission of directory dir1/dir2, then it should have permissions:

     KV Read:
     	dir1/dir2
     	[dir1/dir2/, dir1/dir20) (prefix dir1/dir2/)
     KV Write:
     	[dir1/dir2/, dir1/dir20) (prefix dir1/dir2/)
    

    When userA was granted roleA, userA could open the by http://e3w-address.com/#/kv/dir1/dir2 to view and edit the key/value

  • Access key/value by etcdctl, issue. But the best way to access key/value is using e3ch.

You can’t perform that action at this time.