diff --git a/Dockerfile b/Dockerfile index b426f2ca..144ca797 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,8 @@ -FROM golang:1.9.4 as build +FROM golang:1.10 as build RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh WORKDIR /go/src/gocryptotrader -COPY Gopkg.* ./ -RUN dep ensure -vendor-only COPY . . +RUN dep ensure RUN mv -vn config_example.json config.json \ && GOARCH=386 GOOS=linux CGO_ENABLED=0 go install -v \ && mv /go/bin/linux_386 /go/bin/gocryptotrader diff --git a/config_example.json b/config_example.json index 2af15887..51ab0b25 100644 --- a/config_example.json +++ b/config_example.json @@ -116,13 +116,13 @@ ] }, "Webserver": { - "Enabled": false, + "Enabled": true, "AdminUsername": "admin", "AdminPassword": "Password", "ListenAddress": ":9050", - "WebsocketConnectionLimit": 0, - "WebsocketMaxAuthFailures": 0, - "WebsocketAllowInsecureOrigin": false + "WebsocketConnectionLimit": 1, + "WebsocketMaxAuthFailures": 3, + "WebsocketAllowInsecureOrigin": true }, "Exchanges": [ {