fixing dockerfile and start up script

This commit is contained in:
Ian Norden
2019-12-02 13:24:54 -06:00
parent 1235ec1f97
commit b76bdc51f2
8 changed files with 139 additions and 90 deletions
-1
View File
@@ -50,7 +50,6 @@ func init() {
}
func streamSubscribe() {
log.SetLevel(log.DebugLevel)
// Prep the subscription config/filters to be sent to the server
subscriptionConfig()
+2 -1
View File
@@ -49,6 +49,7 @@ func init() {
func syncPublishScreenAndServe() {
log.SetLevel(log.DebugLevel)
log.SetOutput(os.Stdout)
blockChain, ethClient, rpcClient := getBlockChainAndClients()
db := utils.LoadPostgres(databaseConfig, blockChain.Node())
@@ -93,7 +94,7 @@ func syncPublishScreenAndServe() {
var wsEndpoint string
wsEndpoint = viper.GetString("server.wsEndpoint")
if wsEndpoint == "" {
wsEndpoint = "127.0.0.1:2019"
wsEndpoint = "127.0.0.1:80"
}
_, _, err = rpc.StartWSEndpoint(wsEndpoint, processor.APIs(), []string{"vulcanizedb"}, nil, true)
if err != nil {