Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix mistakes] add baseurl & default_etcd options #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.12 as build
FROM golang:1.12-alpine3.10 as build

ENV GO111MODULE on
ENV GOPROXY "https://goproxy.io"
ENV GOPROXY "https://goproxy.cn"

WORKDIR /opt
RUN mkdir etcdkeeper
Expand All @@ -27,4 +27,5 @@ ADD assets assets

EXPOSE ${PORT}

ENTRYPOINT ./etcdkeeper.bin -h $HOST -p $PORT
ENTRYPOINT ["./etcdkeeper.bin"]
CMD ["-h", "$HOST", "-p", "$PORT"]
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
use etcd auth
-timeout int
ETCD client connect timeout
-baseurl string
If you deploy etcdkeeper into a sub Dir
-default_etcd string
default etcd address, empty if do not want auto connect (default "127.0.0.1:2379")

```
* Open your browser and enter the address: http://127.0.0.1:8080/etcdkeeper
* Click on the version of the title to select the version of ETCD. The default is V3. Reopening will remember your choice.
Expand Down
Loading